Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evokelektrique/poggers
Simply get stats of your chat
https://github.com/evokelektrique/poggers
twitch twitch-emotes
Last synced: 10 days ago
JSON representation
Simply get stats of your chat
- Host: GitHub
- URL: https://github.com/evokelektrique/poggers
- Owner: evokelektrique
- License: mit
- Created: 2022-02-23T16:46:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-03-04T11:53:19.000Z (over 2 years ago)
- Last Synced: 2024-04-07T00:04:44.150Z (7 months ago)
- Topics: twitch, twitch-emotes
- Language: PHP
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simply get stats of your chat
## Usage
A brief description of API usage , for more examples see click here.### Emotes
```php
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);
```