android - How to fix "your api request count has exceeded?" for tmdb.org? -
my code working fine initially, of sudden i'm not able display posters on app. i'm getting particular error. i've removed while(true) loops. please help.
you making many api requests.
from tmdb.org faq:
we rate limit requests 30 requests every 10 seconds.
you should make sure app never uses more that. how implement you, keep track of request counter that:
- decrements every time make request
- resets 30 or every ten seconds
- only allows requests continue if positive
in general, should try query api little possible: cache results in app as can.
Comments
Post a Comment