ynnadkrap / balldontlie

NBA API
http://www.balldontlie.io
223 stars 19 forks source link

Pagination #33

Open coderkrishna92 opened 4 years ago

coderkrishna92 commented 4 years ago

@ynnadkrap Is there some recommended pagination mechanism to be used? The reason being is that you would throttle if there are more than 60 requests per minute. So when you set the per_page=100 let's say, and you are querying the players, then you could be running close to that 60 requests per minute because of all the data.

In a similar light, when you look at the games and statistics endpoints if you want to use other storage mechanisms, you would want to increase the per_page to a number higher than 100. Would appreciate your guidance here!