Hello,
Elyot Grant here, founder of Lunarch Studios and lead developer of Prismata, which has been using the twitch API for almost 4 years now.
This change is a huge problem for us. And I’m actually very upset that it wasn’t communicated to us in any fashion at all. We read through all of the API migration guides when you first sent us the email, and we were assured that everything would be fine: https://media.discordapp.net/attachments/403407224610750465/613828755281936397/unknown.png
Then you SILENTLY, WITHOUT TELLING US, COMPLETELY DECIDE TO BREAK IT!? And remove all trace of the backward compatibility from your documentation? Why…? Our twitch API integration just completely stopped working a few hours ago. And it will be broken again tomorrow, in our live product. What the hell?
In any case, we rely on client side API calls through Adobe AIR, which does not support non-default headers for GET requests because we’re not running the requests from an application security sandbox. We can’t add the Accept header, it literally gives a runtime error.
Error #2096: The HTTP request header Accept: cannot be set via ActionScript.
Do you have a solution for this? If not, can you please revert the headerless behaviour, or provide another way for us to get information about the live streams available right now (e.g. could you allow us to specify the version as a URL parameter rather than a header? You already support this with the client_id parameter.)
I just want a direct one-URL solution like this: https://api.twitch.tv/kraken/streams?client_id=ip6bsskfxjqyh0vdswgiop7vt6pm022&game=prismata
If I have to add the version in there somewhere, it’s fine. But I can’t change the headers.
I must say that I’m honestly so disappointed in how much of a pain it has been to maintain this API. Originally, twitch integration of a list of current live streams of the game was something we implemented in only a few hours. Then the API keys were added and it became significantly more difficult to do anything, and now this. I just want a quick solution to display the information that’s already publicly available at Twitch. At this point, I’m honestly tempted to just scrape it directly rather than bothering with the API at all.