CryptoExchange::Catalog - Catalog of cryptoexchanges
This document describes version 20180510 of CryptoExchange::Catalog (from Perl distribution CryptoExchange-Catalog), released on 2018-05-10.
use CryptoExchange::Catalog; my $cat = CryptoExchange::Catalog->new; my $record = $cat->by_name("BX Thailand"); # note: case-insensitive. => {name=>"BX Thailand", safename=>"bx-thailand", code=>"BX"} my $record = $cat->by_safename("bx-thailand"); my $record = $cat->by_slug("bx-thailand"); # alias for by_safename(), mixed case also works my @names = $cat->all_names(); # => ("Binance", "Bithumb", ...) my @data = $cat->all_data; # => ({name=>"Binance", safename=>"binance", code=>"BINANCE"}, {...}, ...)
This class attempts to provide a list/catalog of cryptocurrency exchanges. The main source for this catalog is the Cryptocurrency Market Capitalizations website (https://coinmarketcap.com/, or CMC for short).
Alias for "by_safename".
Please visit the project's homepage at https://metacpan.org/release/CryptoExchange-Catalog.
Source repository is at https://github.com/perlancar/perl-CryptoExchange-Catalog.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=CryptoExchange-Catalog
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.
CryptoCurrency::Catalog
perlancar <perlancar@cpan.org>
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.
To install CryptoExchange::Catalog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CryptoExchange::Catalog
CPAN shell
perl -MCPAN -e shell install CryptoExchange::Catalog
For more information on module installation, please visit the detailed CPAN module installation guide.