Module for interaction with proxer.me;
my $prxr = Proxer::API->new(api_key => $my_own_api_key);
my $anime = $prxr->info_get_full_entry(53);
print "name: ", $anime->{name};
Create a proxer object
my $prxr = Proxer->new(key => $api_key);
If you want to load the API-key from a file:
my $prxr = Proxer->new(keyfile => 'path/to/api.key');
You also can load the key from a remote location using http or ftp:
# NOT SUPPORTED YET!
#my $prxr = Proxer->new(keylocation => 'http://keys.proxer.me/mykey');
Every api call that takes more than one argument/parameter is called with a hash:
$prxr->info_get_entry(45); # one arg, no need for a hash
$prxr->info_get_comments({id => 45, p => 1}); # hash needed to declare the page
This guarantees a 1:1 mapping against the actual API. There will be some wrappers to make the usage of this lib easier.
Stuff for user related things
Stuff for the List
class
$prxrlist->GetTagIDs("a string with some tags");
actually it should be industries
... however.
actually it should be industries
... however.