WebService::Site24x7 - An api client for https://site24x7.com
use WebService::Site24x7; my $site24x7 = WebService::Site24x7->new( auth_token => '...' user_agent_header => 'mybot v1.0', ); # All methods return a $response hashref which contains the jason response $site24x7->current_status; $site24x7->current_status(monitor_id => $monitor_id); $site24x7->current_status(group_id => $group_id); $site24x7->current_status(type => $type); $site24x7->monitors->list; $site24x7->location_profiles->list; $site24x7->location_template; # get a list all locations $site24x7->reports->log_reports($monitor_id, date => $date); $site24x7->reports->performance($monitor_id, location_id => $location_id, granularity => $granularity, period => $period, );
WebService::Site24x7 is an api client for https://site24x7.com. It currently implements a really limited subset of all the endpoints though.
https://www.site24x7.com/help/api/index.html
Copyright (C) Eric Johnson.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Eric Johnson <eric.git@iijo.org>
To install WebService::Site24x7, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Site24x7
CPAN shell
perl -MCPAN -e shell install WebService::Site24x7
For more information on module installation, please visit the detailed CPAN module installation guide.