FIBA data

Home for all your discussion of basketball statistical analysis.
Post Reply
josecarlos
Posts: 98
Joined: Sun Oct 08, 2017 10:11 pm
Location: Spain
Contact:

FIBA data

Post by josecarlos »

Hi,

FIBA website show all the stats in their website. An example: https://www.fiba.basketball/en/events/e ... 0-ZAB-OSFP

But, this stats are generated by Genius Sports. This company has their own website with the stats like this: https://fibalivestats.dcd.shared.genius ... 81/bs.html However, this url usually doesn't publish in FIBA website because FIBA website has his own version of stats like you can see in the first link.

But, the best link to get the information is the link from Genius Sport. From this link: https://fibalivestats.dcd.shared.genius ... 81/bs.html you can get this another one link https://fibalivestats.dcd.shared.genius ... /data.json which returns us a json with all the information needed.

But, sadly, I'm not able to find the id of the game in FIBA website. For example, if we want to get the id of this game: https://www.fiba.basketball/en/events/ ... 0-ZAB-OSFP checking the source code of the page we can find this tag

Code: Select all

<div data-game-id="123690"></div>
If we use the id "123690" with the url which returns us the json: https://fibalivestats.dcd.shared.geniu ... /data.json we can check that the json recevied doesn't correspond with the data of the game you can find in this url: https://www.fiba.basketball/en/events/e ... 0-ZAB-OSFP

Does anyone be able to get the correct id game from the source code page?
josecarlos
Posts: 98
Joined: Sun Oct 08, 2017 10:11 pm
Location: Spain
Contact:

Re: FIBA data

Post by josecarlos »

Any ideas? Any help?
Crow
Posts: 10536
Joined: Thu Apr 14, 2011 11:10 pm

Re: FIBA data

Post by Crow »

Sorry, I don't have any ideas or help with this issue. If I did, I probably would. This level of information isn't something zi work with.

There might a few people who possibly could consider the question but few visit and few comment these days.

Be patient and there is some chance you might get lucky.

Or look in very specific other places for someone interested in FIBA and technical game data acquisition.

Have you directly contacted the website without the ID available? So often people do not ask the most likely source. Try them if you haven't already. Try them several ways if you can.

Why do you want it? If it is just fan research, they might help you if you explain. If it is gambling or in some way competitive to them, they might not.
josecarlos
Posts: 98
Joined: Sun Oct 08, 2017 10:11 pm
Location: Spain
Contact:

Re: FIBA data

Post by josecarlos »

Crow wrote: Thu Oct 10, 2024 2:10 pm Sorry, I don't have any ideas or help with this issue. If I did, I probably would. This level of information isn't something zi work with.

There might a few people who possibly could consider the question but few visit and few comment these days.

Be patient and there is some chance you might get lucky.

Or look in very specific other places for someone interested in FIBA and technical game data acquisition.

Have you directly contacted the website without the ID available? So often people do not ask the most likely source. Try them if you haven't already. Try them several ways if you can.

Why do you want it? If it is just fan research, they might help you if you explain. If it is gambling or in some way competitive to them, they might not.
I have contact with Genius Sports and they don't tell me the ID's of the game. They always send me to the FIBA website.

I have an advanced women's basketball statistics website and I used to get the data by webscraping, now it is not possible to do it by webscraping.

This site is free for everybody

Thanks for your advice.
Crow
Posts: 10536
Joined: Thu Apr 14, 2011 11:10 pm

Re: FIBA data

Post by Crow »

Ok.

Do the best you can and that may be all you can do. Times can change unexpectedly.

Any way you can assign ids or do a manual matchup of game data using other criteria?

Data sources aren't always completely accessible. They might tolerate borrowing but no obligation on their part to help besides felt fellowship. You are a free site but presumably they are a business and don't want to take steps to make it easier to give away info to "competition". Some might not care that much about some competitors but not really a surprise.
josecarlos
Posts: 98
Joined: Sun Oct 08, 2017 10:11 pm
Location: Spain
Contact:

Re: FIBA data

Post by josecarlos »

Crow wrote: Thu Oct 10, 2024 4:42 pm Ok.

Do the best you can and that may be all you can do. Times can change unexpectedly.

Any way you can assign ids or do a manual matchup of game data using other criteria?

Data sources aren't always completely accessible. They might tolerate borrowing but no obligation on their part to help besides felt fellowship.
No, sadly, I need that id's to get access to the information. Analyzing FIBA website I have found the way to get the information of almost everything except the shot chart. And the shot chart is very important because with it you can know which are the best zones to shoot for a player or the worst shooting zones for a player and that can help them to improve their shooting.

So, if anyone knows how to get those id's, you guys are doing me a huge favour.

I know that all the data sources are not avaible for everybody but in my case I am not making commercial use of the data. On the contrary, it costs me money to keep my project alive :)
Crow
Posts: 10536
Joined: Thu Apr 14, 2011 11:10 pm

Re: FIBA data

Post by Crow »

Find the email or phone # of the top person or somebody close to the top? A lower level person probably doesn't want the hassle or to take responsibility for giving it.
Post Reply