WebService-Cryptsy
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
examples/api.pl view on Meta::CPAN
#!/usr/bin/env perl
use strict;
use warnings;
# VERSION
use WebService::Cryptsy;
use lib qw(lib ../lib);
my $cryp = WebService::Cryptsy->new(
public_key => 'YOUR PUBLIC KEY',
private_key => 'YOUR PRIVATE KEY',
);
my $market_data = $cryp->marketdatav2
or die "Error fetching data: " . $cryp->error;
my $markets = $market_data->{markets};
printf "%s: %f\n", @{ $markets->{$_} }{qw/label lasttradeprice/}
for sort keys %$markets;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.267 second using v1.00-cache-2.02-grep-82fe00e-cpan-2cc899e4a130 )