justintv / Twitch-API

A home for details about our API
www.twitch.tv
1.72k stars 379 forks source link

streams not working #626

Closed BloodWolf89 closed 7 years ago

BloodWolf89 commented 7 years ago

The api for https://api.twitch.tv/kraken/streams/test_channel is not working.

brentlapierre commented 7 years ago

It should be working fine. Are you supplying your client id when sending requests to the API? That is required in order to access any and all endpoints. If so, what is the streams endpoint returning for you?

BloodWolf89 commented 7 years ago

I am doing it how I always have. https://api.twitch.tv/kraken/streams/blood_wolf89 I get this {"error":"Bad Request","status":400,"message":"No client id specified"}

freaktechnik commented 7 years ago

https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843 and https://discuss.dev.twitch.tv/t/client-id-requirement-faqs/6108 and https://github.com/justintv/Twitch-API#rate-limits - it doesn't work anymore like it always has.

bashtech commented 7 years ago

As of Sept. 14th you must supply a client ID with your request. If you do not do this you will get an error. There are instructions for registering an application to get an client ID and a few code examples here: https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.nyf89gi1c****

BloodWolf89 commented 7 years ago

Thank you all for your help. I was not aware of this change.