-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ktpx
committed
Sep 6, 2022
1 parent
0381923
commit f48c6cf
Showing
15 changed files
with
1,039 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Revision history for Perl extension Firi::API. | ||
|
||
0.01 Wed Dec 22 18:47:13 2021 | ||
- original version; created by h2xs 1.23 with options | ||
-AX -n Firi::API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Changes | ||
Makefile.PL | ||
MANIFEST | ||
README | ||
t/Firi-API.t | ||
lib/Firi/API.pm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use 5.034000; | ||
use ExtUtils::MakeMaker; | ||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence | ||
# the contents of the Makefile that is written. | ||
WriteMakefile( | ||
NAME => 'Firi::API', | ||
VERSION_FROM => 'lib/Firi/API.pm', # finds $VERSION, requires EU::MM from perl >= 5.5 | ||
PREREQ_PM => {}, # e.g., Module::Name => 1.1 | ||
ABSTRACT_FROM => 'lib/Firi/API.pm', # retrieve abstract from module | ||
AUTHOR => 'A. U. Thor <thomas@nonet>', | ||
#LICENSE => 'perl', | ||
#Value must be from legacy list of licenses here | ||
#https://metacpan.org/pod/Module::Build::API | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,74 @@ | ||
# perl-firi | ||
Perl API package for firi.com cryptocurrency exchange | ||
# Perl Firi Crypto Trading API Package | ||
|
||
Firi.com (previously MiraIex) is a Norwegian Crypto Exchange | ||
|
||
Miraiex changed name to Firi, find the API here : | ||
NOTE: This replaces the old Repo ktpx/perl-miraiex. | ||
|
||
https://github.com/ktpx/perl-miraiex | ||
API Documentation: https://developers.firi.com/#/README | ||
API: https://api.firi.com | ||
URL: https://www.firi.com | ||
|
||
|
||
Examples: | ||
``` | ||
my $api = Miraiex::API->new( apikey => <api_access_key>); | ||
``` | ||
``` | ||
my $result = $api->market_trade_history( market => $market, | ||
count => $count ); | ||
my $result = get_balances(); | ||
``` | ||
|
||
All calls returns a reference to an array of hashes. See the [API](https://developers.miraiex.com/#/README) documentation for | ||
more detail. | ||
|
||
### Perl Requirements | ||
|
||
* LWP::UserAgent | ||
* JSON::XS | ||
* URI | ||
* Switch | ||
* Scalar::Util | ||
* Config::General | ||
* Digest::SHA | ||
* Time::HiRes | ||
* URI::Query | ||
|
||
# API calls | ||
|
||
``` | ||
time() | ||
market() | ||
market_trade_history() | ||
ticker() | ||
balances() | ||
deposit_address() | ||
deposit_history() | ||
history_orders() | ||
history_trades() | ||
market_depth() | ||
active_orders() | ||
orders_history() | ||
orderid() | ||
create_order() | ||
delete_order() | ||
coin_withdrawal() | ||
coin_address() | ||
history_transactions() | ||
``` | ||
|
||
Referal code @ firi.com: | ||
|
||
https://firi.com/affiliate/?referral=2051eafd | ||
|
||
Tip Jar | ||
|
||
|
||
[![BTC Tip Jar](https://img.shields.io/badge/BTC-tip-yellow.svg?logo=bitcoin&style=flat)](https://www.blockchain.com/btc/address/bc1q4n6ny3qea3lg687n5dr92a607q4gxfvct4tl2v) `bc1q4n6ny3qea3lg687n5dr92a607q4gxfvct4tl2v` | ||
|
||
[![ETH Tip Jar](https://img.shields.io/badge/ETH-tip-blue.svg?logo=ethereum&style=flat)](https://etherscan.io/address/0xA54cFB231Bf07dA327Deeba9c6fff04CE78dA571) `0xA54cFB231Bf07dA327Deeba9c6fff04CE78dA571` | ||
|
||
Licence: GPLv3 |
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.