如何使用 twitch api v5 获取用户订阅?

How to get user subscriptions with twitch api v5?

found 如何做到这一点,但仅适用于 api v3.

v5 没有这样的功能?

它们仍然可用。


overview page 上有所有主要更改的列表,因此您可以查看那里是否有任何端点已被删除。

  • 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.

作为参考,v3 在 Feb 13, 2018 之前仍然可用。