0.1.2 • Published 12 months ago

7tv v0.1.2

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

💬 7TV API

Unofficial 7TV API Wrapper for Node.js

⚙️ Installation

# With YARN:
yarn add 7tv

# With NPM:
npm install 7tv

📚 Usage

Get user data and emotes

import SevenTV from "7tv";

SevenTV.getTwitchUser('280803646')
    .then(console.log);
// Returns Connection interface,

📦 Interfaces

Collection

{
  "id": string,
  "platform": "DISCORD" | "TWITCH" | "YOUTUBE",
  "username": string,
  "display_name": string,
  "linked_at": number,
  "emote_capacity": number,
  "emote_set_id": number,
  "emote_set": EmoteSet,
  "user"?: User,
}

❤️

Made with Love by Sammwy, Donate at PayPal