Question

I have a question regarding rate limits with the twitch and reddit api. I am creating a simple website that requests json with client side JavaScript (of a particular subreddit and to test if certain streamers are online).

My question is, is the rate limit specified per user or for the total number of users using my website ? For example reddit states that there should be no more than 30 requests per 60 seconds- I'm inclined to think this is per user/bot because it says not to set your user agent to anything generic. In the case of twitch they suggest setting your client number as the httpheader to prevent rate limiting. So my two questions are if the people using my website will be making no more than 4 request a day do I  need to worry about rate limiting, regardless of how many people are using my website? Secondly do i need to set a http header or user agent if all my JavaScript is client side and I have no server side code? Sorry if the questions are blindly obvious, it's my first time working with json based APIs. 

Twitch api details:

https://github.com/justintv/Twitch-API/blob/master/README.md

Reddit api details:

https://github.com/reddit/reddit/wiki/API

Was it helpful?

Solution

After releasing my website I've discovered it's per user.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top