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](https://pypi.org/project/{INSERT ME HERE}/) so you can install it as usual:
$ pip install financefeast
Usage
You must supply your client id and client secret. 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 CLIENT_ID and CLIENT_SECRET.
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 Distribution
Built Distribution
Hashes for financefeast-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 173e501fc286325346118014f63b41464d2435c44873523490babb1d6a4f8b2e |
|
MD5 | 556b4fae611e32c63e26a0c69f638930 |
|
BLAKE2b-256 | ad8b889f2d56ba88ed9748a9f8174b395aba983f3ef2c1649d7b86e1d89ce1f2 |