Content-Length: 262666 | pFad | http://github.com/nicklaw5/helix/blob/main/docs/bits_docs.md

5B helix/docs/bits_docs.md at main · nicklaw5/helix · GitHub
Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 493 Bytes

bits_docs.md

File metadata and controls

25 lines (20 loc) · 493 Bytes

Bits Documentation

Get Bits Leaderboard

This is an example of how to get the last 20 top bits contributers over the past week.

client, err := helix.NewClient(&helix.Options{
    ClientID:        "your-client-id",
    UserAccessToken: "your-user-access-token",
})
if err != nil {
    // handle error
}

resp, err := client.GetBitsLeaderboard(&helix.BitsLeaderboardParams{
    Count:  20,
    Period: "week",
})
if err != nil {
    // handle error
}

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nicklaw5/helix/blob/main/docs/bits_docs.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy