Streamers Using Your Extension
Introduction
This code will give you a list of every streamer that is using your extension, regardless of whether it is enabled or disabled
Send a request to the server
You should include your cliendId and clientSecret in the body, so the server can find your extension.
Important API URL:
https://server.chatrpg.com/api/extensions/streamersusingextension
Body
clientId: "yourClientId",
clientSecret: "yourClientSecret"
Example of Usage
const response = await axios.post(`https://server.chatrpg.com/api/extensions/streamersusingextension`, {
clientId: process.env.CHATRPG_CLIENT,
clientSecret: process.env.CHATRPG_SECRET,
});
You will Receive:
chatrpg_id: stringchatrpg_username: stringtwitch_username: string