Finance::Bitcoin::Yacuna - yacuna.com API connector
0.1
use Finance::Bitcoin::Yacuna; my $yacuna = Finance::Bitcoin::Yacuna->new( tokenId => $apiTokenId, secret => $apiSecret, apiVersion => 1, # optional, default:1 debug => 0, # optional, default:0 skipSSL => 0, # optional, default:0 sandbox => 0 # optional, default:0 ); $result = $yacuna->call($httpMethod, $restPath, ["param1=$param1", "param2=$param2", ..]); use Data::Dump qw(dump); use JSON; my $json = new JSON; dump $json->decode($result);
The module to connect to the api of the bitcoin exchange Yacuna.
Please see Yacuna API documentation for a catalog of api methods.
The constructor. Returns a Finance::Bitcoin::Yacuna object.
Finance::Bitcoin::Yacuna
Calls the API method $restPath (with the given $params, where applicable) and returns either undef or a JSON string.
$restPath
$params
Copyright Andrei Martchouk <andrei at yacuna dot com>
To install Finance::Bitcoin::Yacuna, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Bitcoin::Yacuna
CPAN shell
perl -MCPAN -e shell install Finance::Bitcoin::Yacuna
For more information on module installation, please visit the detailed CPAN module installation guide.