ESportApi

FREEMIUM
By REcodeX | Updated a month ago | Gaming
Popularity

9.7 / 10

Latency

646ms

Service Level

100%

Health Check

100%

Back to All Discussions

Filter the response of endpoints

Rapid account: Friise 2001
friise2001
a year ago

Hey,
Iā€™m currently trying to understand the different Endpoints and have a question regarding them. Is there a way to filter the response of an Endpoint? To give an example, when I input a year, month and day in the Event Schedule, the Endpoint obviously returns everything it can find regarding this date. The result contains tournaments of all kinds of categories etc. Can I filter this to only see tournaments and events regarding, for example, Counter-Strike: Global Offensive?

Kind regards
Friis

Rapid account: Fluis Lacasse
fluis.lacasse Commented a year ago

Hello,
I think you can use these endpoints:
-https://esportapi1.p.rapidapi.com/api/esport/tournament/categories to list all categories
-https://esportapi1.p.rapidapi.com/api/esport/category/{category_id}/events/{category}/{month}/{year} to list all events in that category (CS:GO id is 1572)

Thanks.

Join in the discussion - add comment below:

Login / Signup to post new comments