Sportspage Feeds

フリーミアム
よって Sportspage Feeds | 更新済み एक महीने पहले | Sports
人気

9.8 / 10

レイテンシー

160ms

サービスレベル

100%

Health Check

100%

すべてのディスカッションに戻る

Multiple League Fetch?

Rapid account: Alula Leak
AlulaLeak
2 वर्ष पहले

Is there an endpoint for fetching multiple leagues (but not all) in one GET?

Rapid account: Alula Leak
AlulaLeak Commented 2 वर्ष पहले

That actually helps a lot. Thanks a bunch for the quick reply!

Rapid account: Sportspage Feeds
SportspageFeeds Commented 2 वर्ष पहले

I can take a look at this, but at the moment, the best thing to do would be to request all games from the /games endpoint and filter on the leagues you need.

There are a max of 100 games in each request, so if there are more than 100 results, you’d need to add the skip parameter (e.g., /games&skip=100 to get items 101-200). Usually, there are only more than 100 games in a given day on Saturdays during college basketball season, so it shouldn’t result in a ton of extra requests).

Does that work as a temporary solution?

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿