Build Status

Binance::API

Perl module for interacting with the Binance API.

Perl dependencies

See lib/Binance/PerlDependencies.pm

Installing

perl Makefile.PL
make
make test
sudo make install

Troubleshooting

perl Makefile.PL fails:

MakeMaker FATAL: prerequisites not found.
    Exception::Class not installed
    JSON not installed


Please install these modules first and rerun 'perl Makefile.PL'.

See lib/Binance/PerlDependencies.pm for required Perl Modules. In the above case, you would do:

sudo cpan Exception::Class
sudo cpan JSON

Running the tests

prove t/*

Usage

use Binance::API;

my $api = Binance::API->new(
    apiKey => 'my_api_key',
    secretKey => 'my_secret_key',
);

my $ticker = $api->ticker( symbol => 'ETHBTC' );

Contributing

Feel free to provide pull requests!

Author

Lari Taskula

Tip jars

License

MIT (LICENSE.md)