tch::API;
use warnings;
use strict;
use WebService::Simple;
use base 'WebService::Simple';
use JSON ();
our $VERSION = '0.11';
# overide our base modules WebService::Simple _agent() method with
base_url => 'https://api.twitch.tv/helix/', # needs a trailing slash
response_parser => 'JSON',
);
# we wrap the underlying base's new() method to attach credentials (which are normally disc