Skip to content

Commit

Permalink
new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpx committed Sep 6, 2022
1 parent 0381923 commit f48c6cf
Show file tree
Hide file tree
Showing 15 changed files with 1,039 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Changes
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

6 changes: 6 additions & 0 deletions MANIFEST
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
14 changes: 14 additions & 0 deletions Makefile.PL
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
);
76 changes: 72 additions & 4 deletions README.md
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 added blib/arch/.exists
Empty file.
Empty file added blib/arch/auto/Firi/API/.exists
Empty file.
Empty file added blib/bin/.exists
Empty file.
Empty file added blib/lib/Firi/.exists
Empty file.
Loading

0 comments on commit f48c6cf

Please sign in to comment.