Site
Home / Forum / General Discussion / New Soccer Source - issues with XMLsoccer

New Soccer Source - issues with XMLsoccer


Posted: 15 Sep 2019 12:31

zag


Posts: 3,511
Joined: 2020

EDIT Zag:

Useful Links

Posted: 15 Sep 2019 13:00

zag


Posts: 3,511
Joined: 2020

I’d fully agree with this, I’ve encountered numerous problems with the live scores api including sending completely false data for certain events.

Posted: 16 Sep 2019 10:12

zag


Posts: 3,511
Joined: 2020

Yep definitely agree, my plan was always to extend the source API's as we got real money coming in. XML soccer currently costs quite a bit and their service isn't always the best. Although it has been reliable and does get fixed when they mess it up, it just takes time.

Just for clarification on Patreon supporters, we currently have 12 signed up specifically for TheSportsDB level so it isn't an amazing amount yet. Most people are on TheCocktailDB level which is another site but the supporters all show together I recently raised the prices a little(for new users only) in the hope we can cover a nice commercial sports source.

Basically I will look into it yes.

Posted: 16 Sep 2019 14:14

zag


Posts: 3,511
Joined: 2020

This week I detected some events in italian Serie A where date was wrong (for example https://www.thesportsdb.com/event/609310) and french Ligue 1 (for example (https://www.thesportsdb.com/event/603523). I edited them manually to the right date, but the importer keeps updating the events to the wrong dates and even (check the example for Ligue 1, which was held the 13rd sept) it doesn't update results, lineups, cards info, goal scorers, etc.

This is actually by design (although its annoying the XML soccer data is wrong). We need to overwrite user edited event dates because sometimes matches get postponed or changed for TV coverage. Basically we are trusting XML soccer rather than the user here. I'm not sure how to fix this as the system has worked well for a few years now. I think we can only hope XML soccer improves or we find a better source for events like you suggest.

Posted: 21 Sep 2019 20:41

zag


Posts: 3,511
Joined: 2020

Another one for the list, XML soccer has no support for VAR and disallowed goals, causing all manner of issues for my app

Posted: 22 Sep 2019 10:14

zag


Posts: 3,511
Joined: 2020

Zag, in order to know/inform about the current issues, here you see a detailed list of the known ones:

1.- No support for VAR and disallowed goals (example on round 1 in LaLiga Leganes vs Osasuna where Martin Braithwaite has a dissallowed goal displayed)

2.- Wrong lineups displayed at event pages: Currently displaying the final team that played mixing initial lineup with substitutions (example on round 4 in LaLiga Madrid vs Levante displaying Hazard in the lineup when he only played the last 30 minutes of the game)

3.- Wrong event dates for Italina Serie A and French Ligue 1 and when trying to update them, importer creates a new wrong event (example on round 3 in Serie A with Napoli vs Sampdoria)

4.- Random events don't update with results, cards & lineups (example on round 5 in portuguese Primeira Liga)

5.- Events double creation (example on New York City FC games in MLS which are created to two differents teams with same name)

6.- National leagues which are theorically supported have no events created (examples on argentine Primera Division, french Ligue 2, spanish Adelante, russian Premier League, norway Eliteserien, australian A-League, brazilian Brasileirao Serie B)

7.- National cups which are theorically supported have no events automatically created and the manually created, don't get updated with full info of goal scorers, cards, lineups (examples on FA Cup and League Cup)

8.- European competions which are theorically supported have no events automatically created and the manually created, don't get updated with full info of goal scorers, cards, lineups (examples on Champions League and Europa League)

9.- Team dupes (examples such New York City/New York City FC, Osnabrueck/Osnabruck, Wehen/Wehen Wiesbaden, Bryne/Bryne, Dalian Aerbin/Dalian Yifang, Erzurum BB/Erzurumspor, FK Karabakh/Karabakh Agdam, Gimnastic/GIMNASTIC DE TARRAGONA, Goztep/Goztepe, Hoedd/Hoedd, Osmanlispor FK/Osmanlispor, Pachuca/Pachuca FC, Parma/Parma Calcio 1913, St Truiden/St.Truiden, VVV Venlo/VVV-Venlo)

10.- Players displayed on lineups which are already on the DB, but they aren't linked to them (example on Pascal Groß doesn't link with Pascal Gross, Koke Resurrección with Koke, Thomas Partey with Thomas, José María Giménez with Jose Gimenez, Santiago Mina with Santi Mina and a lot more)

Posted: 23 Sep 2019 09:11

zag


Posts: 3,511
Joined: 2020

Yep all fair and useful observations, I am actively looking at more source APIs over the coming weeks. We just got another full sports supporter so hopefully can sign up to something good.

EDIT: I had a quick look at APIfootball, its nice but $50 a month and a lot of the data has similar issues to XMLsoccer. Player names are backwards and have different ID's but it might work with a little data manipulation. It does cover a lot more leagues though and has leading goalscorers which is nice. I will continue to evaluate it.

Posted: 23 Sep 2019 18:29

zag


Posts: 3,511
Joined: 2020

APIfootball was only a proposal. I searched for something similar to XMLsoccer and with some adds to implement, but as I said, I have no idea of coding etc so you are the expert!

If you find a better provider different from the one proposed, no prob at all!

Posted: 05 Oct 2019 18:40

zag


Posts: 3,511
Joined: 2020

New bug found related to lineups: Random events display random nr of players. Some examples:

https://www.thesportsdb.com/event/603561 - PSG with only 10 players & Angers with only 9 players
https://www.thesportsdb.com/event/605639 - Both teams with only 1 player each

Posted: 13 Oct 2019 16:46

zag


Posts: 3,511
Joined: 2020

Yep I see even more issues in the background... Some leagues often are not updating.

We got a few more Patreon supporters this week, so it is nearly possible to pay for another provider.

I will update when there is progress

EDIT: OK backend database work is complete for the new source. Next step is to write an importer!

Posted: 14 Oct 2019 21:01

zag


Posts: 3,511
Joined: 2020

{
"live": {
"Stadium": "Stadio Ettore Mannucci",
"strLeague": "Lega Pro",
"HomeTeam_Id": "134675",
"League": "Lega Pro",
"Location": "Stadio Ettore Mannucci",
"strDate": "2019-10-14",
"Round": "9",
"HomeTeam": "Pontedera",
"AwayTeam_Id": "134260",
"HasBeenRescheduled": "true",
"AwayTeam": "Pistoiese",
"strTime": "18:45:00+00:00",
"Date": "2019-10-14T18:45:00+00:00"
}
}


Another one for the pile. This is the data sent for a match today, note no scores/clock present throughout the event?

Posted: 27 Oct 2019 17:48

zag


Posts: 3,511
Joined: 2020

Man Utd’s two missed penalties are listed in HomeGoal details for the Utd game today. Weird it’s counting missed penalties as goals

Posted: 02 Nov 2019 12:13

zag


Posts: 3,511
Joined: 2020

Any news on this?

Posted: 02 Nov 2019 12:55

zag


Posts: 3,511
Joined: 2020

Yeh still evaluating alternatives, it wont be a quick fix as we are very reliant on the XMLsoccer IDs and other bits at the moment.

Posted: 02 Nov 2019 13:08

zag


Posts: 3,511
Joined: 2020

Yeh still evaluating alternatives, it wont be a quick fix as we are very reliant on the XMLsoccer IDs and other bits at the moment.

No worries! Cheers

Posted: 03 Nov 2019 11:01

zag


Posts: 3,511
Joined: 2020



New "funny" bug. Now counts ghost "full team" goals. See the wrong second one for Espanyol's last game...

Posted: 03 Nov 2019 11:13

zag


Posts: 3,511
Joined: 2020

Yeh still evaluating alternatives, it wont be a quick fix as we are very reliant on the XMLsoccer IDs and other bits at the moment.

If you need help for linking existing teams ID's to a new provider, we can share a spreadsheet and I'll be happy to help

Posted: 07 Nov 2019 14:19

zag


Posts: 3,511
Joined: 2020

Another possible data source

https://www.scorespro.com/livescore-xml/

Posted: 07 Nov 2019 17:58

zag


Posts: 3,511
Joined: 2020

Another possible data source

https://www.scorespro.com/livescore-xml/

Data looks great! Their website does not though 😂

Posted: 22 Nov 2019 12:51

zag


Posts: 3,511
Joined: 2020

Been trialing apiFootball recently as a provider for inplay stars for football and I’m super impressed with them so far!

Posted: 22 Nov 2019 13:09

zag


Posts: 3,511
Joined: 2020

Another nice one here with a similar name

https://www.api-football.com/pricing

Posted: 22 Nov 2019 13:14

zag


Posts: 3,511
Joined: 2020

Another nice one here with a similar name

https://www.api-football.com/pricing


Yeah this is the one!

Posted: 06 Dec 2019 11:25

zag


Posts: 3,511
Joined: 2020

Right we got another $5 pateron last night which finally takes us to $100 a month on the TheSportsDB income.

So its time for some new sports sources!

More accurate scores coming soon I hope.

Posted: 10 Dec 2019 15:08

zag


Posts: 3,511
Joined: 2020

Right we got another $5 pateron last night which finally takes us to $100 a month on the TheSportsDB income.

So its time for some new sports sources!

More accurate scores coming soon I hope.



Do you plan to keep the ids in the API the same as they currently are? Because I expect people to use them for deduplication.

Posted: 10 Dec 2019 22:26

zag


Posts: 3,511
Joined: 2020

Yes all IDs will remain in the DB, but I might add a new additional source ID as its useful for dupe checking.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 25 (Total: 227)