Skip to main content

A ledger-cli getquote implementation using free IEX Cloud API

Project description

getquote

GitHub PyPI

A ledger-cli getquote implementation using the free IEX Cloud API.

Setup

  1. Create a free IEX Cloud API account.

  2. Verify your account and generate API tokens.

  3. Install getquote:

    pip3 install getquote --prefix /usr/local
    
  4. 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
    
  5. Test

    $ getquote GOOG
    2020/08/30 00:01:08 GOOG $1644.41
    

Maintenance

Uploading new packages to PyPi

pip install twine
./setup.py sdist
twine upload dist/getquote-*.tar.gz

Author

Jean-Ralph (JR) Aviles

Project details


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.1.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file getquote-1.1.0.tar.gz.

File metadata

  • Download URL: getquote-1.1.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

Hashes for getquote-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0eab9947824fc0f064cb10a2b71f0128ba082c2ab3cf1bce1d8aebad3a6f110e
MD5 ac68d0ac65f5b7473e11b0bb4adac3cb
BLAKE2b-256 ac7027a44639ae8ac895cfdf8a81d5112c1ab84fe7b60731e2a4aec596ac906f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page