Community

Twitch Dev: Twitch API v5 is Now Available

Developers rejoice! Today Twitch announced that they have made Twitch API v5 available.

This API uses IDs to reference users instead of usernames which opens the doors to add new features to the API and Twitch as a whole.

To start using v5 and upgrade your ingrations, pass the application/vnd.twitch.v5+json header on your requests.

Other Version Changes:

  • The _links object is removed from all responses. As a developer, you will be responsible for handling the paging offsets when polling the API.
  • Added sub-second precision to time fields.
  • Removed /games/featured endpoint.
  • Removed delay, background, and banner from the channels response object.
  • Replaced q and type parameters on the search endpoint. The q parameter is now called query. The type parameter is always set to suggest.
  • Removed paywalled field from the video response object.
  • Removed /kraken/chat, /kraken/chat/emoticons, and /kraken/chat/emoticon_index.

All developers will need to migrate your code to us v5. On February 14th, 2017 Twitch will be removing v1 and v2 of the API with a full transition to v3. By 2017 v3 will also be removed form the API.

via Twitch

About the author

Moblord

Editor in Chief