Which API I can use to get these details as per week, month, 3 months, etc for a specific user?
No endpoint gives all that data.
To know follower count you’d need to use https://dev.twitch.tv/docs/api/reference#get-users-follows
For view count you’d need to use https://dev.twitch.tv/docs/api/reference#get-users
And for the others you’d use the Get Streams endpoint https://dev.twitch.tv/docs/api/reference#get-streams
All of those endpoints will show the current point in time, there is no historic data that is available through the API so you would need to periodically poll those endpoints yourself and store the data. So if you want 3 months of data you’ll need to start collecting the data now and in 3 months you’ll have 3 months of data.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.