A client library for Financefeast API
Project description
Financefeast
A client library to call the Financefeast API
Note: this is alpha quality code still, the API may change, and things may fall apart while you try it.
Quick start
Installation
financefeast
is available from pypi so you can install it as usual:
$ pip install financefeast
Usage
You must supply your client id and client secret. You can do this one of two ways, either when you create an instance of Financefeast by passing client_id and client_secret as args.
client = FinanceFeast(client_id="SOME ID", client_secret="SOME SECRET")
or
Using environment variables
FF-CLIENT-ID and FF-CLIENT-SECRET
and then
client = FinanceFeast()
Example
from financefeast import FinanceFeast
client = FinanceFeast(client_id="your_client_id",
client_secret="your_client_secret")
print(client.tickers())
Features
All API endpoints are supported, plus detection of ratelimiting.
Supported now:
- All routes
- Rate limit aware
- Authorization
Future:
- Backoff when approaching rate limit thresholds
Limitations and known issues
None at this time.
Developing and contributing
Building wheel
python setup.py bdist_wheel
Installing wheel
pip install /path/to/wheelfile.whl
PRs are more than welcome! Please include tests for your changes :)
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 Distributions
Built Distribution
Hashes for financefeast-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8f19ec8cc67daa6c1e99e31eef801ba2acc226c9f951aaaa8c3eef50a54059 |
|
MD5 | 1a3a7f5dea416aa0567e9dec8a9c1d86 |
|
BLAKE2b-256 | 881bf43a975298f32dc4e3ae591719623d54b97c36e3d31cee73a6f78154a02a |