https://github.com/offish/firi
Interact with Firi's API, a Nordic crypto exchange.
https://github.com/offish/firi
crypto crypto-api crypto-exchange crypto-exchange-api cryptocurrencies cryptocurrency cryptocurrency-exchanges firi krypto miraiex
Last synced: 4 months ago
JSON representation
Interact with Firi's API, a Nordic crypto exchange.
- Host: GitHub
- URL: https://github.com/offish/firi
- Owner: offish
- License: mit
- Created: 2021-09-13T11:50:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-18T21:20:44.000Z (almost 3 years ago)
- Last Synced: 2025-02-14T06:07:08.445Z (4 months ago)
- Topics: crypto, crypto-api, crypto-exchange, crypto-exchange-api, cryptocurrencies, cryptocurrency, cryptocurrency-exchanges, firi, krypto, miraiex
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firi
[](https://pypi.org/project/firi)
[](https://github.com/offish/firi/stargazers)
[](https://github.com/offish/firi/issues)
[](https://github.com/offish/firi)
[](https://github.com/psf/black)Python package for interacting with [Firi](https://firi.com/affiliate/?referral=01f67b69)'s [API](https://developers.firi.com/#/).
Non-refferal link [here](https://firi.com).
**THIS PACKAGE DOES NOT CURRENTLY SUPPORT PRIVATE ENDPOINTS.**
## Installation
Install and update using pip
```text
pip install --upgrade firi
```## Usage
```python
>>> from firi import Firi, floatify, BITCOIN, XRP>>> firi = Firi()
>>> firi.get_market(BITCOIN) # or get_prices(BTC) or "BTCNOK". Predefined tickers can be found in markets.py
{'last': '480408.40', 'high': '533400.00', 'change': '-7.77', 'low': '460000.00', 'volume': '46.86'}>>> firi.get_markets() # or get_tickers()
[{'id': 'BTCNOK', 'last': '473000.20', 'high': '533400.00', 'change': '-9.25', 'low': '460000.00', 'volume': '47.21'}, ...]>>> floatify(firi.get_market(XRP))
{'last': 9.4, 'high': 10.95, 'change': -14.16, 'low': 7.44, 'volume': 1291258.8}
```## Documentation
Firi's official documentation can be found [here](https://developers.firi.com/#/README).## Donate
BTC: 37hb1eSbodHcKBdH2RbVenbFhkVVGXG2z5ETH: 0x7862b653d13f2e08df6ee129041511d01a3a0f59