UNPKG

node-ttv

Version:

A Node.js wrapper for Twitch.tv's helix API.

64 lines (63 loc) 2.08 kB
import OAuth from '../authentication/OAuth'; import Ads from './resources/ads'; import Analytics from './resources/analytics'; import Bits from './resources/bits'; import Channels from './resources/channels'; import Channel_Points from './resources/channel_points'; import Chat from './resources/chat'; import Clips from './resources/clips'; import Entitlements from './resources/entitlements'; import EventSub from './resources/eventsub'; import Games from './resources/games'; import Goals from './resources/goals'; import HypeTrain from './resources/hypetrain'; import Moderation from './resources/moderation'; import Music from './resources/music'; import Polls from './resources/polls'; import Predictions from './resources/predictions'; import Raids from './resources/raids'; import Schedule from './resources/schedule'; import Search from './resources/search'; import Streams from './resources/streams'; import Subscriptions from './resources/subscriptions'; import Tags from './resources/tags'; import Teams from './resources/teams'; import Users from './resources/users'; import Videos from './resources/videos'; /** * Interact with Twitch.tv's Helix API. * See Twitch.tv's API reference for usage: https://dev.twitch.tv/docs/api/reference */ export default class Helix { ads: Ads; analytics: Analytics; bits: Bits; channels: Channels; channel_points: Channel_Points; chat: Chat; clips: Clips; entitlements: Entitlements; eventsub: EventSub; games: Games; goals: Goals; hypetrain: HypeTrain; moderation: Moderation; music: Music; polls: Polls; predictions: Predictions; raids: Raids; schedule: Schedule; search: Search; streams: Streams; subscriptions: Subscriptions; tags: Tags; teams: Teams; users: Users; videos: Videos; /** * Interact with Twitch.tv's Helix API. * See Twitch.tv's API reference for usage: https://dev.twitch.tv/docs/api/reference * @param oauth An OAuth handle for application credentials */ constructor(oauth: OAuth); }