Skip to main content

Firi

Version Stars Issues Size Code style

Python package for interacting with Firi' (refferal) API.

Firi (not refferal)

**Donate: **

THIS PACKAGE DOES NOT CURRENTLY SUPPORT PRIVATE ENDPOINTS.

Installation

Install and update using pip

pip install --upgrade firi

Usage

>>> 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.

Metadata

Release files for firi 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for firi 0.0.1
File Size Uploaded
firi-0.0.1.tar.gz 3.1 kB Details

Release files / firi-0.0.1.tar.gz

Download URL firi-0.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
49ce1b199550bd2ad12c7e953aa50fb30b46df7df3b61d330bddf64b55e5816d
BLAKE2b-256 checksum
How to use checksums
f8b23cd6518a269654256d7d7f7906941b18d92c161f2aa7da3bd6825b4b1a05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page