Site
Home / Forum / Developers / Is there API endpoint for only soccer highlights?

Is there API endpoint for only soccer highlights?


Posted: 22 Feb 2020 21:18

uramplus
Posts: 4
Joined: Oct 2019

looking for soccer only highlights API endpoint.

Posted: 23 Feb 2020 11:21

zag
Posts: 1,558
Joined: Oct 2016

Something like this?

https://www.thesportsdb.com/highlights.php?f=Soccer

Via the API?

[quote:5r3e93h1]https://www.thesportsdb.com/api/v1/json/{APIKEY}/eventshighlights.php?l=Spanish_La_Liga[/quote:5r3e93h1]

or would you want to filter by sport as well?

EDIT: Whoops got that the wrong way round, fixed.

Posted: 24 Feb 2020 09:49

uramplus
Posts: 4
Joined: Oct 2019

hmmm... looks the api endpoint is returning null value



Posted: 24 Feb 2020 10:19

zag
Posts: 1,558
Joined: Oct 2016

Ahh yes you need to filter by the specific league:

[quote:2n5airib]https://www.thesportsdb.com/api/v1/json/***/eventshighlights.php?l=Spanish_La_Liga[/quote:2n5airib]

Would you still want to search by soccer as well? I could probably introduce that filter if wanted?

Posted: 24 Feb 2020 10:31

zag
Posts: 1,558
Joined: Oct 2016

I introduced the new feature for you

thesportsdb.com/api/v1/json/***/eventshighlights.php?s=Soccer
thesportsdb.com/api/v1/json/***/eventshighlights.php?s=Soccer&d=2020-02-15



Should now work!

Posted: 24 Feb 2020 19:33

uramplus
Posts: 4
Joined: Oct 2019

awesome! looks great


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