TwitchApi.Helix (twitch_api v0.1.1)

The Twitch API

Twitch API version: Helix

Link to this section Summary

Functions

Get the user's profile image by their user id (channel)

Get information about the user by their id (channel)

Get the username by their user id (channel)

Check whether this user is banned for a channel

Is the user or streamer live?

Link to this section Functions

Link to this function

get_user_image_by_user_id!(user_access_token, client_id, user_id)

Get the user's profile image by their user id (channel)

Link to this function

get_user_info_by_user_id!(user_access_token, client_id, user_id)

Get information about the user by their id (channel)

{
  :ok,
   %{
   "data" => [
     %{
       "broadcaster_type" => _,
       "created_at" => _,
       "description" => _,
       "display_name" => _,
       "email" => _,
       "id" => _,
       "login" => _,
       "offline_image_url" => _,
       "profile_image_url" => _,
       "type" => _,
       "view_count" => _,
     }
   ]
  }}
}
Link to this function

get_username_by_user_id!(user_access_token, client_id, user_id)

Get the username by their user id (channel)

Link to this function

is_banned_for_channel?(user_access_token, client_id, channel, user_id)

Check whether this user is banned for a channel

Link to this function

is_live?(user_access_token, client_id, user_id)

Is the user or streamer live?