Elm Decoders and a few other helpers for using Twitch.tv APIs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Twitch
test
.gitignore
CHANGELOG.md
LICENSE.txt
README.md
elm-package.json

README.md

Elm Twitch Api

Decoders and a few other helpers for using Twitch.tv APIs.

Partial coverage of the APIs I have used.

  • Includes most the Helix (new Twitch API).

  • Kraken/V5 Communities.

  • Some additional decoders for unoffical hosts and clips APIS.

    fetchUserByNameUrl : String -> String fetchUserByNameUrl login = "https://api.twitch.tv/helix/users?login=" ++ login

    fetchUserByName : String -> Cmd Msg fetchUserByName login = Twitch.Helix.send <| { clientId = TwitchId.clientId , auth = Nothing , decoder = Twitch.Helix.Decode.users , tagger = User , url = (fetchUserByNameUrl login) }

Example applications using this library: