Net::Icecast2 - Icecast2 Server API
use Net::Icecast2; my $net_icecast = Net::Icecast2->new( host => 192.168.1.10, port => 8008, protocol => 'https', login => 'source', password => 'hackme', ); # Make request to "/admin/stats" $net_icecast->request( '/stats' );
Make requsts and parse XML response from Icecast2 API
Description : Icecast2 Server hostname Default : localhost Required : 0
Description : Icecast2 Server port Default : 8000 Required : 0
Description : Icecast2 Server protocol ( scheme ) Default : http Required : 0
Description : Icecast2 Server API login Required : 1
Description : Icecast2 Server API password Required : 1
Usage : $net_icecast->request( '/stats' ); Arguments : Path to API action that goes after '/admin' Description : Method for making request to Icecast2 Server API Return : Parsed XML server request
Icecast2 server: http://www.icecast.org Icecast2 API Docs: http://www.icecast.org/docs/icecast-trunk/icecast2_admin.html
Related modules Net::Icecast2::Admin Net::Icecast2::Mount
Pavel R3VoLuT1OneR Zhytomirsky <r3volut1oner@gmail.com>
This software is copyright (c) 2012 by Pavel R3VoLuT1OneR Zhytomirsky.
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 Net::Icecast2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Icecast2
CPAN shell
perl -MCPAN -e shell install Net::Icecast2
For more information on module installation, please visit the detailed CPAN module installation guide.