Simply get stats of your chat

v0.3.3 2022-03-03 14:55 UTC

This package is auto-updated.

Last update: 2024-05-04 17:01:42 UTC


README

155836895-f5721247-1a9f-4cc0-9705-362df3734455.png
Simply get stats of your chat

Usage

A brief description of API usage , for more examples see click here.

Emotes

require_once __DIR__ . "/vendor/autoload.php";

$path = __DIR__; // Current directory
$twitch = new POGGERS\Twitch($path);

// Get user info
$username = "forsen";
$user = POGGERS\User::get($username);
$user_id = $user[0]["id"];

// List Global Emotes
$global = new POGGERS\EmoteProviders\GlobalEmotes;
$list = $global->list();

// List Channel Emotes
$user_id = "22484632";
$channel = new POGGERS\EmoteProviders\ChannelEmotes;
$list = $channel->list($user_id);

// List BTTV Emotes
$bttv = new POGGERS\EmoteProviders\BTTV;
$list = $bttv->list();

// List FFZ emotes of a channel
$bttv = new POGGERS\EmoteProviders\FFZ;
$list = $bttv->list($user_id);