Twitch

Badges for Twitch channels — live status, followers.

Display live stats for any Twitch channel.

Available badges

BadgeEndpointDescription
Status/twitch/status/{login}Live/offline status with viewer count
Followers/twitch/followers/{login}Follower count

Quick examples

![status](https://shieldcn.dev/twitch/status/shroud.svg)
![followers](https://shieldcn.dev/twitch/followers/ninja.svg)
GET/twitch/status/:login.svg

Path Parameters

required
![badge](https://shieldcn.dev/twitch/status/shroud.svg)
badge preview

Setup

Requires TWITCH_CLIENT_ID and TWITCH_CLIENT_SECRET environment variables. Get them from the Twitch Developer Console.

Data source

Uses Twitch Helix API. Requires API credentials. Live status cached 5 minutes.