sammwyy / 7tv-api

Unofficial 7TV API Wrapper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💬 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

About

Unofficial 7TV API Wrapper.

License:MIT License


Languages

Language:TypeScript 95.1%Language:JavaScript 4.9%