A ledger-cli getquote implementation using free IEX Cloud API
Project description
getquote
A ledger-cli getquote implementation using the free IEX Cloud API.
Setup
-
Create a free IEX Cloud API account.
-
Verify your account and generate API tokens.
-
Install
getquote
:pip3 install getquote --prefix /usr/local
-
Create a
getquote.ini
config file in your ledger directory.[IEX] TOKEN = <your publishable IEX API token here>
- Alternatively, set the
IEX_TOKEN
environment variable.
export IEX_TOKEN=pk_deadbeefdeadbeefdeadbeefdeadbeef
- Alternatively, set the
-
Test
$ getquote GOOG 2020/08/30 09:56:54-0400 GOOG $1644.41
Maintenance
Uploading new packages to PyPi
pip install twine
./setup.py sdist
twine upload dist/getquote-*.tar.gz
Author
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
getquote-1.2.0.tar.gz
(2.2 kB
view details)
File details
Details for the file getquote-1.2.0.tar.gz
.
File metadata
- Download URL: getquote-1.2.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013bba0fbce25a5195e46b20866a84b3fe8aa2031a2af3256203e4b5ecb9137b |
|
MD5 | 87573ce53ff497cf0b87a1a78eec61e6 |
|
BLAKE2b-256 | 7a977a4a71dadb9341e55a3ba239af28017ce42183e10bd9808f29f38cecf062 |