Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

twitch-getter

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
    })()

Install

npm i twitch-getter

DownloadsWeekly Downloads

0

Version

1.1.7

License

ISC

Unpacked Size

25.9 kB

Total Files

18

Last publish

Collaborators

  • avatar