Twitch.API

Every call is made relative to https://api.twitch.davidwalter.at/twitch-api/

There is a rate limit of 420 calls per hour if no valid API key is sent via query parameter.

version

Parameters

None

Returns

The current version of the Twitch.API

1.1.0

chatters

Parameters

Returns

The connected chatters of the specified channel

{
            "_links":{},
            "chatter_count":4,
            "chatters": {
                "broadcaster": ["divadretlaw"],
                "vips":[],
                "moderators": ["alpine_bot"],
                "staff":[],
                "admins":[],
                "global_mods":[],
                "viewers": ["Chatter A", "Chatter B", ...]
            }
        }

random

Parameters

Returns

A random chatter

divadretlaw

mods

Parameters

Returns

List of moderators of the specified channel

["alpine_bot", ...]

vips

Parameters

Returns

List of VIPs of the specified channel

["VIP", ...]

last-game

Parameters

Returns

Last played game of the specified channel or null if there was no last game

League of Legends

follow

Parameters

Returns

How long the specified user is following the specified channel

11 months 7 days 9 hours 37 minutes

uptime

Parameters

Returns

Uptime of the specified channel

54 minutes

dad-joke

This is a simple wrapper around the API of icanhazdadjoke to make it easier to use with Twitch chat bots.

Parameters

Returns

Returns a dad joke

To be Frank, I'd have to change my name.