<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Finance::CoinbasePro::Lite - Client API library for Coinbase Pro (lite
    edition)

VERSION
    This document describes version 0.003 of Finance::CoinbasePro::Lite
    (from Perl distribution Finance-CoinbasePro-Lite), released on
    2018-11-29.

SYNOPSIS
     use Finance::CoinbasePro::Lite;

     my $cbp = Finance::CoinbasePro::Lite-&gt;new(
         key        =&gt; 'Your API key',
         secret     =&gt; 'Your API secret',
         passphrase =&gt; 'Your API passphrase',
     );

     my $res = $cbp-&gt;public_request(GET =&gt; "/products");
     # [
     #   200,
     #   "OK",
     #   [
     #     {
     #       base_currency =&gt; "BCH",
     #       base_max_size =&gt; 200,
     #       ...
     #     },
     #     ...
     #   ]
     # ]

     my $res = $cbp-&gt;private_request(GET =&gt; "/coinbase-accounts");
     # [
     #   200,
     #   "OK",
     #   [
     #     {
     #       active =&gt; 1,
     #       balance =&gt; "0.00",
     #       currency =&gt; "USD",
     #       name =&gt; "USD wallet",
     #       ...
     #     },
     #     ...
     #   ]
     # ]

     my $res = $cbp-&gt;private_request(POST =&gt; "/reports", {
         type =&gt; "fills",
         start_date =&gt; "2018-02-01T00:00:00.000Z",
         end_date   =&gt; "2018-02-01T00:00:00.000Z",
     });

DESCRIPTION
    Coinbase Pro, &lt;https://pro.coinbase.com&gt;, is a US cryptocurrency
    exchange. This module provides a Perl wrapper for Coinbase Pro's API.
    Please peruse the Coinbase Pro API reference to see which API endpoints
    are available.

METHODS
  new
    Usage: new(%args)

    Constructor. Known arguments:

    *   key

    *   secret

    *   passphrase

  public_request
    Usage: public_request($method, $request_path [, \%params ]) =&gt;
    [$status_code, $message, $content]

    Will send HTTP request and decode the JSON body for you.

  private_request
    Usage: public_request($method, $request_path [, \%params ]) =&gt;
    [$status_code, $message, $content]

    Will send and sign HTTP request and decode the JSON body for you.

HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/Finance-CoinbasePro-Lite&gt;.

SOURCE
    Source repository is at
    &lt;https://github.com/perlancar/perl-Finance-CoinbasePro-Lite&gt;.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    &lt;https://rt.cpan.org/Public/Dist/Display.html?Name=Finance-CoinbasePro-L
    ite&gt;

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

SEE ALSO
    Coinbase Pro API Reference, &lt;https://docs.pro.coinbase.com/&gt;

AUTHOR
    perlancar &lt;perlancar@cpan.org&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2018 by perlancar@cpan.org.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

</pre></body></html>