- Preparing search index...
- The search index is not available
statisfy
Constructors
constructor
- new Twitch(options: TwitchOptions): Twitch
-
Methods
getChannelInfo
- getChannelInfo(id: string | void): Promise<any>
-
Returns Promise<any>
getToken
- getToken(): Promise<any>
-
Returns Promise<any>
getUserByID
- getUserByID(id: string | void): Promise<any>
-
Returns Promise<any>
getUserByName
- getUserByName(username: string): Promise<any>
-
Returns Promise<any>
Private
req
- req(url: string): Promise<any>
Private
Returns Promise<any>
searchChannels
- searchChannels(username: string | void): Promise<any>
-
Returns Promise<any>
Classdesc
Twitch Class, which handles all relevant statistical endpoints from the Twitch API
Param
Twitch Client ID from Developer Portal
Param
Twitch Client Secret from Developer Portal