Skip to content

joebew42/ex_twitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExTwitch

ExTwitch is a early stage development of an Elixir client implementation for the new Twitch API

Setup

Create a Twitch app, and then export the clientId and the secret as environment variables:

export TWITCH_CLIENT_ID=<YOUR_CLIENT_ID>
export TWITCH_SECRET=<YOUR_SECRET>

Example Usage

An example of querying the /users endpoint

{:ok, users} = ExTwitch.API.users(login: ["joebew42"])

Run the tests

mix deps.get
mix test

NOTE: If you change the TWITCH_CLIENT_ID and the TWITCH_SECRET remember to run a mix clean

About

An Elixir client implementation for the new Twitch API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages