Scrape the latest APY rates for BlockFi Interest Accounts
Project description
DISCLAIMER
This package is in no way affiliated in any way, shape or form with BlockFi and as such its use is entirely at the user's own risk.
BlockFiRates
An unofficial API to easily obtain the interest rates of BlockFi Interest Accounts (BIA).
Getting Started
Installing
pip install blockfirates
Imports
from blockfirates import client
Client=client.BlockFiRates()
Available Functions
- get_all_rates
- get_amount
- get_apy
get_all_rates
Printing info for all currencies:
rates = Client.get_all_rates()
for i in rates:
print(i)
get_amount
Printing amount criteria for a specific currency:
Client.get_amount("BTC (Tier 1)")
get_apy
Printing APY rate for a specific currency:
Client.get_apy("BTC (Tier 1)")
Development
Use Poetry to create a virtual environment based on the pyproject.toml file:
poetry init
Once changes have been committed, create and merge to the master branch on Github and push the new version to PyPi:
git push -u origin master
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file BlockFiRates-0.3.2.tar.gz.
File metadata
- Download URL: BlockFiRates-0.3.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fffe2f63de3343dcffb25db8a5b02efca113a01f2f7322c9ad95d4c8ddb79ca
|
|
| MD5 |
900d7e302e8ae922df2ea3b0755f0551
|
|
| BLAKE2b-256 |
85fc85565f308e49c245bada8b772dcce78a751fb396c2a950517e4fe1e4f380
|
File details
Details for the file BlockFiRates-0.3.2-py3-none-any.whl.
File metadata
- Download URL: BlockFiRates-0.3.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
038678fff1c44697659f51adef2328104f70317f9c86d70ddbb7edfd8d2176b8
|
|
| MD5 |
215b347a84d063138068fa073f7c3c19
|
|
| BLAKE2b-256 |
94207c93261bf487f708a3e3525018dbb22e065c8f5bc33702f7a2f2ad9f93e1
|