# Finance-Bitcoin-Yacuna **Repository Path**: mirrors_gitpan/Finance-Bitcoin-Yacuna ## Basic Information - **Project Name**: Finance-Bitcoin-Yacuna - **Description**: Read-only release history for Finance-Bitcoin-Yacuna - **Primary Language**: Unknown - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-20 - **Last Updated**: 2026-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README NAME Finance::Bitcoin::Yacuna - Yacuna Bitcoin exchange trading api connector VERSION 0.1 SYNOPSIS 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); DESCRIPTION Module to connect to the api of the currency exchange Yacuna. Please see the Yacuna API documentation for a catalog of api methods. METHODS $api = new Finance::Bitcoin::Yacuna The constructor. Returns a "Finance::Bitcoin::Yacuna" object. $api->uri($uri) Sets or gets the uri to connect. $api->tokenId($tokenId) Sets or gets the API tokenId. $api->secret($secret) Sets or gets the API secret. $result = $api->call($httpMethod, $restPath) $result = $api->call($httpMethod, $restPath, ["param1=$param1", "param2=$param2", ..]) Calls the API method $restPath with the $httpMethod (with the given $params, where applicable) and returns either undef or a JSON string. DEPENDENCIES WWW::Mechanize HTTP::Request MIME::Base64 Digest::SHA Data::Dump AUTHOR and COPYRIGHT Copyright Andrei Martchouk