You will get all Instructions in the README file after your purchase. Also, feel free to watch this short explanation video
In general you have to do these steps:
1: Register your app at Twitch Developer to obtain a client ID and client secret
2: Paste your Client ID and Client Secret into the config.ini file into the according keys
3: Download the package, extract it and copy the files into the folder of your website / webapp (where the websites main index.php file is located).
4: After that, you only need to insert these three lines into your PHP File (in most cases "index.php") to get it running:
require('twitch_status_checker.php'); // change path if you created a folder
$yourChannelName = new StreamerStatus("YourChannelName");
echo $yourChannelName->returnLiveStatus(); // result: "online" or "offline"
EASILY ACCESS STREAM INFORMATIONS!
When a stream is online, you get access to the following informations with the returnStreamInfos() Function:
It is also easy to use and included in the Code Example when you buy the script:
$streamInfos = $stream->returnStreamInfos();
echo $streamGame = $streamInfos['game_name']; // Returns the Game Name
// instead of "game_name" you can also use "title", "viewer_count", "thumbnail_url" and many more!
New in Version 2.6 (Update Q4 2022)
* improved Performance
* added a new Function: getMultipleStreamStatus - get up to 100 Stream-Status at once
* expanded Example index.php File