0.1.2 • Published 12 months ago

betterttv v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

💬 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