WebService::Freshservice::API - Request abstraction to the Freshservice API
version 0.001
use WebService::Freshservice::API; my $request = WebService::Freshservice::API->new( apikey => 'xxxxxxxxxxxxxxxxxxxxxx' );
Provides a light wrapper to LWP::UserAgent against the Freshservice APIs
$api->get_api( "itil/requesters/123456.json" );
Returns a perl object of the JSON decoded data structure API. Croaks on failure.
$api->post_api( "itil/requesters.json", $data );
$api->put_api( "itil/requesters.json", $data );
Returns 1 on success. Croaks on failure.
$api->delete_api( "itil/requesters/123456.json" );
Leon Wright <techman@cpan.org>
This software is copyright (c) 2016 by Leon Wright.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::Freshservice, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Freshservice
CPAN shell
perl -MCPAN -e shell install WebService::Freshservice
For more information on module installation, please visit the detailed CPAN module installation guide.