Site
Home / Forum / General Discussion / Lineups

Lineups


Posted: 18 Aug 2019 19:58

cydalby
Posts: 188
Joined: Mar 2019

Would there be any possibility of adding Lineups for specific events to the Db? I noticed that the live scores api contains lineups, but it would be nice to receive the lineups for past events in the event lookup api.

Posted: 18 Aug 2019 21:15

zag
Posts: 1,558
Joined: Oct 2016

Sure I will have a look at it, the data is probably somewhere, it just needs to be exposed.

Posted: 19 Aug 2019 09:46

zag
Posts: 1,558
Joined: Oct 2016

Would there be any possibility of adding Lineups for specific events to the Db? I noticed that the live scores api contains lineups, but it would be nice to receive the lineups for past events in the event lookup api.

Initial implementation here:

https://www.thesportsdb.com/event/602145

Let me know if you find any errors. Current it matches on the players name so some may not be found such as Pascal Gross in this example.

Posted: 19 Aug 2019 09:51

cydalby
Posts: 188
Joined: Mar 2019



Initial implementation here:

https://www.thesportsdb.com/event/602145

Let me know if you find any errors. Currently it matches on the players name so some may not be found such as Pascal Gross in this example.


Looks great! I'll have a play tonight

Posted: 19 Aug 2019 11:08

ovokx
Posts: 830
Joined: Jan 2017

Current it matches on the players name so some may not be found such as Pascal Gross in this example.

Pascal Gross is already on the DB, but it's witten correctly: Pascal Groß (https://www.thesportsdb.com/player/34161400)
Maybe this kind of issues can be solved issuing an "alternate name" for players.



Posted: 31 Aug 2019 19:55

cydalby
Posts: 188
Joined: Mar 2019

In the data received to the db are player shirt numbers transferred over?

I appreciate they’re present on individual player lookups but wondered if there was any data missing, saving me the time of making multiple api calls 😂

Posted: 31 Aug 2019 20:44

zag
Posts: 1,558
Joined: Oct 2016

The shirt number doesnt exist as far as I can see in our data other than on the against the player.

Posted: 31 Aug 2019 21:05

cydalby
Posts: 188
Joined: Mar 2019

The shirt number doesnt exist as far as I can see in our data other than on the against the player.

No worries, thought as much! Thanks for checking

Posted: 03 Sep 2019 18:17

cydalby
Posts: 188
Joined: Mar 2019

Any possibility that we would be able to upload lineups ourselves on the website?

Posted: 04 Sep 2019 13:53

zag
Posts: 1,558
Joined: Oct 2016

Any possibility that we would be able to upload lineups ourselves on the website?

Probably not to be honest as I would like to maintain the structure of the data and writing the interface to keep that clean would be classed as an "interesting challenge"

The importer from XML soccer should run once a day on any events but I can't really speed that up sadly due to their rate limiter.

Posted: 04 Sep 2019 13:56

cydalby
Posts: 188
Joined: Mar 2019

not a problem, I’ll work on something my end!

All the best


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 11 (Total: 11)