Registry / http-client / nicklaw5-helix

nicklaw5-helix

JSON →
library1.25.0gogounverified

Go client library for the Twitch Helix API, providing access to Twitch endpoints.

go get github.com/nicklaw5/helix
INSTALL
IMPORT
SIG · NICKLAW5-HELIX
N
nicklaw5-helix
http-clientgov1.25.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

helix
github.com/nicklaw5/helix

Creates a Twitch Helix client and fetches user information.

package main import ( "fmt" "github.com/nicklaw5/helix" ) func main() { client, err := helix.NewClient(&helix.Options{ ClientID: "your-client-id", }) if err != nil { panic(err) } resp, err := client.GetUsers(&helix.UsersParams{Logins: []string{"twitchdev"}}) if err != nil { panic(err) } fmt.Println(resp.Data.Users[0].DisplayName) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.25.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
nicklaw5-helix — go get nicklaw5-helix · libregistry