twitch-getter
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

Install

npm i twitch-getter

How to use

This package utilizes both Twitch's "New API" and "V5" API.
    // Package allows you to choose between both the V5 api and New API
    import { NewTwitchAPI, V5TwitchAPI } from 'newtwitchapi'
 
    (async() => {
    // twitchAPI NEEDS your twitch's clientID in order to work
    const newTwitchApi = new NewTwitchAPI(client_id: string)
 
    const response = await newTwitchApi.GetNewStreams({
      language: "en"
    });
    // Do something with the response
    })()

Dependents (0)

Package Sidebar

Install

npm i twitch-getter

Weekly Downloads

12

Version

1.1.7

License

ISC

Unpacked Size

25.9 kB

Total Files

18

Last publish

Collaborators

  • marcdwyer