# Twitch API

> 5 public methods for Twitch (twitch.tv), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by Twitch.

- Page: https://fous.com/methods/twitch.tv

## Methods

### [Get a channel](https://fous.com/methods/twitch.tv/get-channel.md)

`twitch.tv/get_channel`, read. Looks up a public Twitch channel by name, display name or channel link and returns its profile, live status and up to 10 recent broadcast videos.

Returns: profile, followers, partner status, live stream status, recent videos

### [List top categories](https://fous.com/methods/twitch.tv/list-top-categories.md)

`twitch.tv/list_top_categories`, read. Lists Twitch games and categories ranked by current live viewers, with content tags, box art and category links.

Returns: rank, category name, live viewers, tags, box art, category link, category ID

### [Get channel stream schedule](https://fous.com/methods/twitch.tv/get-stream-schedule.md)

`twitch.tv/get_stream_schedule`, read. Returns a Twitch channel's public upcoming stream schedule for the next 1 to 30 days, with start and end times, titles, categories and cancellations.

Returns: channel name, schedule link, vacation note, upcoming streams

### [List top streams](https://fous.com/methods/twitch.tv/list-top-streams.md)

`twitch.tv/list_top_streams`, read. Lists the most-watched live Twitch streams, optionally within a category and language. All-category results are limited to 30 streams; category results allow up to 100.

Returns: rank, streamer, title, category, viewers, language, start time, thumbnail, channel link

### [List channel videos](https://fous.com/methods/twitch.tv/list-channel-videos.md)

`twitch.tv/list_channel_videos`, read. Lists a Twitch channel's public past broadcasts or highlights by date, or its top clips by views for a chosen period. Returns up to 100 items; clips unavailable to anonymous viewers are not included.

Returns: title, date, length, views, category, thumbnail link, video link, id
