📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

getquote

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getquote

A ledger-cli getquote implementation using free IEX Cloud API

1.2.0
PyPI
Maintainers
1

getquote

GitHub PyPI

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
    
  • 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

Jean-Ralph (JR) Aviles

Keywords

ledger-cli personal finance stocks

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts