Re: New Soccer Source - issues with XMLsoccer |
Posted: 20 Feb 2020 18:57 | |||
zag Posts: 3,511 Joined: 2020 | Just being picky (as usual) but I’ve noticed some events don’t get updated if the final score is 0-0. Is this something that can be fixed or is it the nature of the syncing that’s happening behind the scenes? | ||
Posted: 20 Feb 2020 19:24 | |||
zag Posts: 3,511 Joined: 2020 | yeh thats a logic error, should be fixed. | ||
Posted: 21 Feb 2020 20:04 | |||
zag Posts: 3,511 Joined: 2020 | [quote="zag":2tqe6rz7]After lots of background work (and more to come) this feature is now implemented! The way it currently works is the LiveScore can create any event it finds a match for as long as the league and home/away teams exist. The API football ID's need to be entered for both teams and leagues for them to match up for an event to be created. This should mean new events are created all the time, as they happen live (If they are missing). Examples: | ||
Posted: 21 Feb 2020 23:31 | |||
zag Posts: 3,511 Joined: 2020 | Yep this is by design, not sure how to fix it but lets see how it goes. Mods will need to keep an eye out for now | ||
Posted: 22 Feb 2020 19:19 | |||
zag Posts: 3,511 Joined: 2020 | I've pretty much spent the entire day fixing data and matching leagues, hopefully things are a lot better now. - Added loads of new leagues - Matched up existing leagues and teams - Added new teams - Added some new cup competitions - Split German and Spanish lower leagues into regions - Added round number to the livescore importer | ||
Posted: 24 Feb 2020 17:04 | |||
zag Posts: 3,511 Joined: 2020 | [quote="zag":3vlpmk0y]I've pretty much spent the entire day fixing data and matching leagues, hopefully things are a lot better now. - Added loads of new leagues - Matched up existing leagues and teams - Added new teams - Added some new cup competitions - Split German and Spanish lower leagues into regions - Added round number to the livescore importer Amazing work. Should all teams/matches now matchup with apiFootball? Is there any work other than the usual that we can be doing to finish this off? | ||
Posted: 24 Feb 2020 22:59 | |||
zag Posts: 3,511 Joined: 2020 | Amazing work. Should all teams/matches now matchup with apiFootball? Is there any work other than the usual that we can be doing to finish this off? I think its all linked up now, other than the remaining "_no league" teams perhaps. But many won't have leagues. The biggest thing to look out for is duplicate re-arranged events with the new importer, still looking for a solution for that one! | ||
Posted: 29 Feb 2020 11:33 | |||
zag Posts: 3,511 Joined: 2020 | Is there any logic behind which games will get linked to api-football? I can see from the api that some games have a idApiFootball and others have null | ||
Posted: 29 Feb 2020 12:18 | |||
zag Posts: 3,511 Joined: 2020 | Yes for an result to be updated it needs a number of things APi-Football ID's for both teams API-Football ID for the league/season Both clubs having logos Do you have any examples of one not updating? It might be the league ID which I can fix on backend. EDIT: Just fixed Russian league 1 and Turkish league 2 IDs so they should now work. | ||
Posted: 29 Feb 2020 13:00 | |||
zag Posts: 3,511 Joined: 2020 | I’ve noticed a lot of the major leagues: Premier League, Ligue 1, La Liga are just a few | ||
Posted: 29 Feb 2020 13:09 | |||
zag Posts: 3,511 Joined: 2020 | Are you talking about event ID's here? | ||
Posted: 29 Feb 2020 13:15 | |||
zag Posts: 3,511 Joined: 2020 | Yeah sorry, specifically the apiFootballId | ||
Posted: 29 Feb 2020 14:36 | |||
zag Posts: 3,511 Joined: 2020 | Aha! OK yes well the ID will only be created at the moment if that importer CREATES the event. Most leagues will already have a schedual so it wont be done. I will see what I can do to update the API-Football ID on each update. EDIT: OK should be done for livescore matches going forward | ||
Posted: 29 Feb 2020 14:55 | |||
zag Posts: 3,511 Joined: 2020 | Ah! That makes more sense, apologies I must have misread the previous messages Thanks Zag! | ||
Posted: 01 Mar 2020 10:55 | |||
zag Posts: 3,511 Joined: 2020 | New Leagues! Also added teams with ID numbers. Top Level leagues https://www.thesportsdb.com/league/4793 ... a-C-League https://www.thesportsdb.com/league/4791-Indian-I-League https://www.thesportsdb.com/league/4745 ... ier-League https://www.thesportsdb.com/league/4754-Senegal-Ligue-1 https://www.thesportsdb.com/league/4795 ... ier-League https://www.thesportsdb.com/league/4794 ... per-League https://www.thesportsdb.com/league/4755 ... ampionship 2nd level leagues https://www.thesportsdb.com/league/4744-Thai-League-2 https://www.thesportsdb.com/league/4796 ... Erste-Liga | ||
Posted: 01 Mar 2020 17:05 | |||
zag Posts: 3,511 Joined: 2020 | Indonesia and Uzbekistan complete. Can I ask what is your method for determining which new leagues to add? Just Senegal, Kenya, and Cambodia seem very odd choices to me | ||
Posted: 01 Mar 2020 19:59 | |||
zag Posts: 3,511 Joined: 2020 | Can I ask what is your method for determining which new leagues to add? Just Senegal, Kenya, and Cambodia seem very odd choices to me Basically whatever shows on the back-end livescore importer! | ||
Posted: 02 Mar 2020 16:00 | |||
zag Posts: 3,511 Joined: 2020 | Top Level leagues https://www.thesportsdb.com/league/4791-Indian-I-League | ||
Posted: 02 Mar 2020 16:49 | |||
zag Posts: 3,511 Joined: 2020 | Singapore 1 done. Tanjong Pagar doesn't have an API key available. | ||
Posted: 02 Mar 2020 19:41 | |||
zag Posts: 3,511 Joined: 2020 | Thanks fixed and added the I-League proper | ||
Posted: 03 Mar 2020 18:11 | |||
zag Posts: 3,511 Joined: 2020 | Indian I-League done! | ||
Posted: 04 Mar 2020 17:41 | |||
zag Posts: 3,511 Joined: 2020 | Cambodia C-League completed! | ||
Posted: 07 Mar 2020 21:57 | |||
zag Posts: 3,511 Joined: 2020 | Austrian 2. Liga done | ||
Posted: 09 Mar 2020 15:27 | |||
zag Posts: 3,511 Joined: 2020 | Kenyan Premier League Done | ||
Posted: 09 Mar 2020 19:20 | |||
zag Posts: 3,511 Joined: 2020 | Done | ||
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 |