Skip to content

A Twitch Kraken API (v5) client written in Go (Golang).

License

Notifications You must be signed in to change notification settings

nicklaw5/kraken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kraken

A Twitch Kraken API (v5) client written in Go. If you are looking for a client for Twitch's Helix API, see helix.

Build Status Coverage Status

Package Status

This project is a work in progress. Below is a list of currently supported endpoints. Until a release is cut, consider this API to be unstable.

Supported Endpoints

  • Bits
  • Channel Feed
  • Channels
  • Chat
  • Clips
  • Collections
  • Communities
  • Games
  • Ingests
  • Search
  • Streams
  • Teams
  • Users
  • Videos

Getting Started

It's recommended that you use a dependency management tool such as Dep. If you are using Dep you can import kraken by running:

dep ensure -add github.com/nicklaw5/kraken

Or you can simply import using the Go toolchain:

go get -u github.com/nicklaw5/kraken

Usage

This is a quick example of how to get a clip.

client, err := kraken.NewClient("your-client-id", nil)
if err != nil {
    // handle error
}

clip, err := client.GetClip("AwkwardHelplessSalamanderSwiftRage")
if err != nil {
    // handle error
}

fmt.Printf("%+v\n", clip)

License

This package is distributed under the terms of the MIT License.

Releases

No releases published

Packages

No packages published

Languages