JustinLove/elm-twitch-api/6.1.0

NOTE: the latest version is 7.0.0

Twitch.Id.Decode

Decoders for the ID (oauth) API

App OAuth (OAuth Client Credentials Flow)

type alias AppOAuth =
{ accessToken : String
, expiresIn : Int
, scope : List String
, tokenType : String
}

Record for App OAuth access tokens

appOAuth : Decoder AppOAuth

Decoder for App OAuth access token

Sample data

Sample data for App OAuth access token