Skip to content

Instantly share code, notes, and snippets.

View eggshell's full-sized avatar
🍳

Cullen Taylor eggshell

🍳
View GitHub Profile
@eggshell
eggshell / twitch.go
Last active August 1, 2018 21:18
getting list of stream names from twitch api (golang)
import (
"fmt"
"os"
twitch "github.com/Onestay/go-new-twitch"
)
func GetLiveStreams() []Stream {
client := twitch.NewClient(os.Getenv("client_id"))
input := twitch.GetStreamsInput{
GameID: []string{"33214"},

Keybase proof

I hereby claim:

  • I am eggshell on github.
  • I am eggshell (https://keybase.io/eggshell) on keybase.
  • I have a public key ASDwjWezmBGkYOJIJ9drohHxslTknhMCFJBxTaWwJ4F8hQo

To claim this, I am signing this object: