Poloniex::API - Poloniex API wrapper.
use Poloniex::API; my $api = Poloniex::API->new( APIKey => 'your-api-key', Secret => 'your-secret-key' );
my $iterator = Poloniex::API->new(%hash); Return a Poloniex::API for C<hash>
my $returnCompleteBalances = $api->api_trading('returnCompleteBalances'); my ($returnTradeHistory, $err) = $api->api_trading('returnTradeHistory', { currencyPair => 'BTC_ZEC' }); if ($err) { say $returnTradeHistory->{error}; } TODO: this description function
my $Ticker = $api->api_public('returnTicker'); my $ChartData = $api->api_public('returnChartData', { currencyPair => 'BTC_XMR', start => 1405699200, end => 9999999999, period => 14400 }); TODO: this description function
vlad mirkos, <vladmirkos@sd.apple.com<gt>
Copyright (C) 2017 by vlad mirkos This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.
To install Poloniex::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Poloniex::API
CPAN shell
perl -MCPAN -e shell install Poloniex::API
For more information on module installation, please visit the detailed CPAN module installation guide.