Time
NAME
Finance::GDAX::API::Time - Time
SYNOPSIS
use Finance::GDAX::API::Time;
$time = Finance::GDAX::API::Time.new;
# Get current time
$time_hash = $time.get;
DESCRIPTION
Gets the time reported by GDAX.
METHODS
get
Returns a hash representing the GDAX API server's notion of current time.
From the GDAX API:
{
"iso": "2015-01-07T23:47:25.201Z",
"epoch": 1420674445.201
}
AUTHOR
Mark Rushing <[email protected]>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Home Grown Systems, SPC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.