WebService::Syncthing - Client library for Syncthing API
version 0.10
use WebService::Syncthing; my $Syncthing = WebService::Synthing->new( base_url => 'http://server:port/rest', auth_token => 'optional_auth_token', ); $Syncthing->get_ping();
Simple client for talking to the Syncthing GUI using the REST API.
The auth_token used to authenticate against the Syncthing GUI. Passed as a X-API-Key header in requests.
Ping using a GET request.
Chris Hughes <chrisjh@cpan.org>
This software is copyright (c) 2015 by Chris Hughes.
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::Syncthing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Syncthing
CPAN shell
perl -MCPAN -e shell install WebService::Syncthing
For more information on module installation, please visit the detailed CPAN module installation guide.