mrdandandan-twitch-module

Basic interactions with twitch api

Usage no npm install needed!

<script type="module">
  import mrdandandanTwitchModule from 'https://cdn.skypack.dev/mrdandandan-twitch-module';
</script>

README

// Config
import {twitchRequest} from 'mrdandandan-twitch-module';
twitchRequest.setApiKey(<twitch-api-key>);

// API
import twitch from 'mrdandandan-twitch-module';
twitch.streams('mrdandandan')
    .then(response => {
        // Do stuff    
    });