Chatbot help API


#1

Hello guys ,After 2 months i finally finish my chat bot in python. I implement some functions likes sound bar connection etc.
I have a question , my Channel have likes 15 subscribers and when they write a command my program open a txt file with the sub list written by me.

How can i get the real list using API?
I don’t know how to use an api, where can i get information?

Thanks and sorry for bad english


#2

You can use the Get Broadcaster Subscriptions endpoint to get data of who is a sub to your channel.

Because the endpoint has private information it requires a User Access Token with the channel:read:subscriptions scope, so to get an access token you can follow the steps in the OAuth Authorization Code Flow docs.


#3

Thank you very much i’ll check It :blush: