Twitch API abstraction, in PHP