package Finance::MtGox;
use warnings;
use strict;
use Carp qw( croak );
use JSON::Any;
use WWW::Mechanize;
use URI;
use Time::HiRes qw( gettimeofday );
use Digest::SHA qw( hmac_sha512 );
use MIME::Ba
rgs->{secret}
or croak "You must provide 'key' and 'secret' credentials.";
$args->{json} = JSON::Any->new;
$args->{mech} = WWW::Mechanize->new(stack_depth => 0);
return bless $args
2 call( $name )
Run the API call named C<$name>. Returns a Perl data structure
representing the JSON returned from MtGox.
=cut
sub call {
my ( $self, $name ) = @_;
croak "You must provide