Search code examples
apitwitch

How to get user subscriptions with twitch api v5?


I found how to do this, but only for api v3.

There is no such functionality for v5?


Solution

  • They are all still available.


    There's a list of all the major changes on the overview page, so you can just look there to see if any endpoints have been removed.

    • The new version of the API uses user IDs instead of user names to reference users.

    • The _links object was removed from all responses. Developers are now responsible for handling the paging offsets when polling the API.

    • Sub-second precision was added to time fields

    • The /games/featured endpoint was removed.

    • delay, background, and banner were removed from the channels response object.

    • For search endpoints, the q parameter is now called query, and the type parameter is always set to suggest.

    • The paywalled field was removed from the video response object.

    • The /kraken/chat endpoint was removed.

    For reference, v3 is still available for use until Feb 13, 2018.