PHP code example of simplissimetwitch / api-twitch
1. Go to this page and download the library: Download simplissimetwitch/api-twitch library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
simplissimetwitch / api-twitch example snippets
/** Information of amended */
const Streamer_Name = 'Name_Streamer'; //Replace valeur
const Api_Twitch_ID = 'Api_Id_Twitch'; //Replace valeur
const USER_ID_TWITCH = 'Id_Twitch'; //Replace valeur
use \SimplissimeTwitch\ApiTwitch as api;
$ui = new api();
$ui->getUsers('_id')
$ui->getUsers('display_name')
$ui->follow('_total')
$ui->getgame()
$ui->followListe()
bash
php composer.phar
bash
php composer.phar update
php
$ui->getstatus()