The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

    Poloniex::API - Poloniex API wrapper.

SYNOPSIS

        use Poloniex::API; 
        
        my $api = Poloniex::API->new(
                APIKey => 'your-api-key',
                Secret => 'your-secret-key'
        );

DESCRIPTION

CONSTRUCTORS

new

    my $iterator = Poloniex::API->new(%hash);
    Return a Poloniex::API for C<hash>

METHODS

api_trading

    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

api_public

        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

AUTHOR

vlad mirkos, <vladmirkos@sd.apple.com<gt>

COPYRIGHT AND LICENSE

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.