Squiso is a free, powerful automation tool that lets you customize your Twitch stream using simple scripts.

How to Display the Number of Twitch Channel Subscribers in OBS Studio

This script example fetches the number of Twitch subscribers you have and writes it to a file every 15 minutes, which then can be displayed in OBS Studio using a Text Source in a Scene.

Script Example

import com.squiso.*; import com.squiso.exception.*; import com.squiso.scripting.*; import com.squiso.scripting.data.*; import com.squiso.keyboard.*; import com.squiso.twitch.*; import com.squiso.datatypes.*; import com.squiso.utils.*; // Important - Please do not change the row below - otherwise you will get a compilation error! public class Script_Example extends SquisoScript { public void onEveryMinute(OnEveryMinuteData data, API api) throws SquisoException { // Do this every 15 minutes if (data.is(15)) { // Get the number of subscribers int nbrOfSubs = api.getTwitchChannelSubscribersCount(); // Compose the contents of the file SquisoString contents = new SquisoString("Number of subs: " + nbrOfSubs); // Write the file with the contents contents.writeToFile("subscribers.txt"); } } }