Site
Home / Forum / Developers / Basketball leagues statistics

Basketball leagues statistics


Posted: 03 Feb 2021 16:28
mobiledev
Posts: 3
Joined: 2021-01-02

Hello,

We are developing a basketball app and we see that in the platform are not available statistics for this sport (our interest is NBA, Euroleague, ACB). Do you have estimation of when they may be available?

Thanks

Posted: 03 Feb 2021 18:28

Ovokx
Posts: 1,698
Joined: 2020-06-17

Hello,

Which stats are you looking for? Related to players or events?

Posted: 04 Feb 2021 16:06
mobiledev
Posts: 3
Joined: 2021-01-02

Hi,
We look for the stats of the players in each game. Both in livescore and after (Time played, assists, turnovers, steals, rebounds, fouls, 3PA, 3PI, 2PA, 2PI, free throws, etc.)

Thanks

Posted: 04 Feb 2021 18:09

Ovokx
Posts: 1,698
Joined: 2020-06-17

Hi,

We currently have stats for players by season totals (games, assists, mins played, points, rebounds, steals and turnovers). See an example here: https://www.thesportsdb.com/player/34153772

@zag, is it possible to add the requested info at event level through the new basketball importer?

Posted: 04 Feb 2021 19:50

zag
Posts: 3,329
Joined: 2020-03-23

It may be possible but I don't think its worth doing it yet as each sport is different. We probably wont have live stats during the game as it makes the data feed very heavy and would need to change for each different sports.

I'm open to quick stats after the event though and will look into it with the event importer.

Player historical stats are already available for some players thanks to the hard work of our users like Ovokx

Posted: 07 Feb 2021 15:49
mobiledev
Posts: 3
Joined: 2021-01-02

Hello, thank you for your reply.

In that case, for now, we can't use this api because we do need the statistics during the match.

Would it be possible to know from where you get the results and statistics at the end of the matches?

Thanks again for your help and great work.

Posted: 07 Feb 2021 20:51

zag
Posts: 3,329
Joined: 2020-03-23

As we are a user contributed site, most of our statistics come from our users adding them.

There is an ESPN API that has some nice data feeds that you could use, as well as specific paid providers like API-Basketball or mysportsfeeds.

Posted: 27 Feb 2021 09:17
pioter
Posts: 8
Joined: 2021-02-23

i checked statistic for match BC Zenit Saint Petersburg vs Valencia Basket", idEvent: 1054930

every endpoint is empty

https://www.thesportsdb.com/api/v1/json/APIKEY/lookupeventstats.php?id=1054930
https://www.thesportsdb.com/api/v1/json/APIKEY/lookuplineup.php?id=1054930
https://www.thesportsdb.com/api/v1/json/APIKEY/lookuptimeline.php?id=1054930

You have statistic for basketball matches?

Posted: 27 Feb 2021 09:28

Ovokx
Posts: 1,698
Joined: 2020-06-17

Zag is looking to add stats to basketball events when finished (no live stats while playing), but basketball event pages should be first modified as they currently have the structure for soccer events/stats



Posted: 27 Feb 2021 19:00
pioter
Posts: 8
Joined: 2021-02-23

When score will by update? https://www.thesportsdb.com/api/v1/json/APIKEY/eventsday.php?d=2021-02-27&s=Basketball

Example:
Match MKS D\u0105browa G\u00f3rnicza vs Stal Ostr\u00f3w Wielkopolski was end but still not have intHomeScore i intAwayScore.


Posted: 01 Mar 2021 10:32

zag
Posts: 3,329
Joined: 2020-03-23

When score will by update? https://www.thesportsdb.com/api/v1/json/APIKEY/eventsday.php?d=2021-02-27&s=Basketball

Example:
Match MKS D\u0105browa G\u00f3rnicza vs Stal Ostr\u00f3w Wielkopolski was end but still not have intHomeScore i intAwayScore.


I checked the source and Polish basketball isn't included currently sorry. Most other leagues are. It may be covid related so hopefully it will return soon.

Posted: 01 Mar 2021 13:54
pioter
Posts: 8
Joined: 2021-02-23

now its ok, results are updated https://www.thesportsdb.com/api/v1/json/1/eventsday.php?d=2021-02-27&s=Basketball

zag
Posted: 05 Mar 2021 06:48
pioter
Posts: 8
Joined: 2021-02-23

How can i get all events from one season? All events in specific league by season (Free tier limited to 100 events)
https://www.thesportsdb.com/api/v1/json/1/eventsseason.php?id=4328&s=2014-2015

its limit for 100 events.

By round NBA not works. https://www.thesportsdb.com/api/v1/json/1/eventsround.php?id=4387&r=0&s=2020-2021

this is empty https://www.thesportsdb.com/api/v1/json/1/eventsround.php?id=4387&r=1&s=2020-2021

can you check this?

Posted: 09 Mar 2021 21:01

zag
Posts: 3,329
Joined: 2020-03-23

Yeh sorry NBA has not been edited for rounds, anyone is welcome to do it though. Just go through the events and change the round number.

Posted: 09 Mar 2021 22:40

Ovokx
Posts: 1,698
Joined: 2020-06-17

Yeh sorry NBA has not been edited for rounds, anyone is welcome to do it though. Just go through the events and change the round number.

The basketball importer I guess that removes/replaces that field as I added this info in the past for current season in its start and was gone

Posted: 11 Mar 2021 19:08

zag
Posts: 3,329
Joined: 2020-03-23

Yeh sorry NBA has not been edited for rounds, anyone is welcome to do it though. Just go through the events and change the round number.

The basketball importer I guess that removes/replaces that field as I added this info in the past for current season in its start and was gone


Yeh no week number sadly on the source. I'm not sure why...

Thinking about it, id be careful editing too many as the importer might overwrite it!! I will need to check again.

Posted: 11 Mar 2021 19:46

Ovokx
Posts: 1,698
Joined: 2020-06-17

NBA doesn't use rounds, it uses "week competition numbers": https://www.nba.com/schedule

Some others american leagues uses so, like NHL

Posted: 16 Mar 2021 13:19
pioter
Posts: 8
Joined: 2021-02-23

When you add basketball statistics?

Posted: 31 Mar 2021 18:28
pioter
Posts: 8
Joined: 2021-02-23

Anyone can answer me? please


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