Site
Home / Forum / Developers / Search for player event

Search for player event


Posted: 02 Apr 2023 16:52
feelgood
Posts: 5
Joined: 2022-05-09

Good day,
is it possible to find an event by searching for the 2 players? I am trying the following query, but I am not getting any result: https://www.thesportsdb.com/api/v1/json/3/searchevents.php?e=Nadal_vs_Djokovic

Posted: 02 Apr 2023 17:26

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

Good day,
is it possible to find an event by searching for the 2 players? I am trying the following query, but I am not getting any result: https://www.thesportsdb.com/api/v1/json/3/searchevents.php?e=Nadal_vs_Djokovic


Theoretically that should work....

You would need to find an event where they play each other though first as it might be the other way round.

Posted: 03 Apr 2023 18:27

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

Theoretically that should work....


Unfortunately no. Search option only works if you know how the event name starts. Some examples:

Search for "Djokovic vs Nadal" returns 0 events: https://www.thesportsdb.com/search.php?s=Djokovic+vs+Nadal
Search for "French Open Djokovic vs Nadal" returns 6 events: https://www.thesportsdb.com/search.php?s=+French+Open+Djokovic+vs+Nadal

Looks like Search option doesn't "read" full name events.




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