AllSportsApi

ÜCRETSİZ PREMIUM
Taraf REcodeX | Güncelleyen לפני 23 ימים | Sports
Popülerlik

9.9 / 10

Gecikme

511ms

Hizmet Düzeyi

100%

Health Check

100%

Tüm Eğitimlere Dön (19)

How to get all leagues of the sport?

To get all the leagues of the sport, you will need to list all categories first and then list all tournaments inside the category.
The category represents the country/tour/game of the tournaments. To get all categories, you can use the following endpoint: “/api/tournament/categories” for football or “/api/{sport}/tournament/categories” for other sports. With the response you can get all the leagues with the following endpoint: “/api/tournament/all/category/{category_id}” for football or “/api/{sport}/tournament/all/category/{category_id}" for other sports. Additionally, there are the category schedules that shows the events played in certain day for that category alone: “/api/category/{category_id}/events/{day}/{month}/{year}” for football or “/api/{sport}/category/{category_id}/events/{day}/{month}/{year}" for other sports, with the day being integer.