Skip to main content

Python library for the ALTADATA API

Project description

ALTADATA Python library provides convenient access to the ALTADATA API from applications written in the Python language.

Installation

pip install altadata

Retrieving Data

You can get the entire data with the code below. This function returns List of dict by default.

client = AltaDataAPI(YOUR_API_KEY)
data = client.get_data(PRODUCT_CODE).load()

If dataframe_functionality parameter is True function returns pandas dataframe.

Note: This functionality requires pandas (v0.21 or above) to work.

client = AltaDataAPI(api_key=YOUR_API_KEY, dataframe_functionality=True)
data = client.get_data(PRODUCT_CODE).load()

Documentation

Read the documentation online at altadata-python.rtfd.io

Optionally, build documentation from the docs/ folder

pip install sphinx
cd docs
make html

License

altadata-python is under MIT license. See the LICENSE file for more info.

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

altadata-0.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

altadata-0.0.1-py3-none-any.whl (5.3 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