betterttv
v0.1.2
Published
Unofficial BetterTTV API Wrapper.
Downloads
28
Maintainers
Readme
💬 BetterTTV API
Unofficial BetterTTV API Wrapper for Node.js
⚙️ Installation
# With YARN:
yarn add betterttv
# With NPM:
npm install betterttv
📚 Usage
Get user data and emotes
import BetterTTV from "betterttv";
BetterTTV.getGlobalEmotes()
.then(console.log);
// Returns Emote[],
📦 Interfaces
Emote
{
"id": string,
"code": string,
"imageType": "png" | "gif",
"animated": boolean,
"src": {
"low": string,
"mid": string,
"high": string,
},
"userId?": string,
"user?": {
"id": string,
"name": string,
"displayName": string,
"providerId": string
}
}
❤️
Made with Love by Sammwy, Donate at PayPal