serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
45 stars 3 forks source link

[Google Sports Results API] Fetch KGMID of stadium name #1655

Closed Morgadoooo closed 2 weeks ago

Morgadoooo commented 3 weeks ago

Hi,

I was wondering if it would be possible to retrieve some more information on the sport results.

Let say for example that I want to query a football (⚽) match like so image

We see that some information are displayed on the search response and are giving us the Stadium name, and I was wondering if retrieving the Knowledge graph id of this information could be done. I don't know if it's possible or not but might be cool to have the possibility to do so since we might have multiple stadiums with the same name might be interesting to be able to differentiate them using the kgmid

Morgadoooo commented 3 weeks ago

Wondering if it is possible since the stadium name generally is a link in which the google stick is provided it might be doable but I'm not sure if this "link" is retrieved on your side when doing the query.

andypple83 commented 3 weeks ago

Thanks @Morgadoooo for raising this. I'm happy to help.

We can provide some kgmid for sport teams and stadium for some search results. E.g, there are some KGMIDs for this search:

Screenshot 2024-06-06 at 17 44 44

Screenshot 2024-06-06 at 17 45 04

The Saint Mary's Stadium has /g/11c47_dkwv KGMID.

I'll add these KGMID results into our search results. Will notify you when we released.

Happy scraping!

andypple83 commented 2 weeks ago

We've released the fix. The KGMID will be available for the stadium and teams.

Screenshot 2024-06-14 at 12 06 13

Feel free to open up more issues when you need our help.

Morgadoooo commented 2 weeks ago

Awesome news! Thanks for the work