Finance-Bank-Kraken
view release on metacpan or search on metacpan
METHODS
$api = new Finance::Bank::Kraken
The constructor. Returns a "Finance::Bank::Kraken" object.
$api->key($key)
Sets or gets the API key.
$api->secret($secret)
Sets the API secret to $secret or returns the API secret base64
decoded.
$result = $api->call(Public, $method)
$result = $api->call(Private, $method)
$result = $api->call(Private, $method, [$param1, $param2, ..])
Calls the "Public" or "Private" API method $method (with the given
$params, where applicable) and returns either the JSON encoded
result string or an error message ("code" "message").
DEPENDENCIES
HTTP::Request
lib/Finance/Bank/Kraken.pm view on Meta::CPAN
=item $api = new Finance::Bank::Kraken
The constructor. Returns a C<Finance::Bank::Kraken> object.
=item $api->key($key)
Sets or gets the API key.
=item $api->secret($secret)
Sets the API secret to C<$secret> or returns the API secret base64 decoded.
=item $result = $api->call(Public, $method)
=item $result = $api->call(Private, $method)
=item $result = $api->call(Private, $method, [$param1, $param2, ..])
Calls the C<Public> or C<Private> API method C<$method> (with the given C<$params>, where applicable) and returns either the JSON encoded result string or an error message (C<code> C<message>).
=back
( run in 0.267 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )