Skip to main content

Package to utilize Finage REST API

Project description

Finage Python Client

The unofficial Python library for accessing the Finage REST API. Though a work in progress, this package can already fetch data on stocks, forex, and fundamentals.

Installation

The package can be installed directly from PyPI with pip:

pip install finage

Usage

You need an API key to use this product. Once you have that key, there are a couple options. You can either save it as and environment variable (export FINAGE_KEY=<api_key>), or you can pass it directly to the client class Finage as is done in the below example:

from finage import Finage

api_key = "FAKE_KEY"
client = Finage(api_key)
resp = client.get_stock_last("AMZN")
resp.json()

License

MIT

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

finage-0.1.5.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

finage-0.1.5-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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