Skip to main content

A Stand alone python client (with examples) to query our HUVRDATA REST API.

Project description

A Python client (with examples) to connect to HUVRdata.

Features

  • a Python client library for the HUVRdata application

Setup Credentials

Set up your credentials file

$ mkdir ~/.huvr_api_client
$ cp huvrdatacloud_credentials.json ~/.huvr_api_client

Then edit the ~/.huvr_api_client file and add your login information.

Run Through the Examples

You are now ready to run through our examples. Edit this file API_Client_Example.py where you will modify 2 vars. Go to the __main__ section of the code and change the subdomain to the desired subdomain to run on, and change the running_in variable to which ever environment you want to test on.

Finally: Uncomment the profiles_example() section. Now run it:

$ ./API_Client_Example.py

Using Lint in the development env.

You can use flake8 to lent your python code as you are developing. Note: when checking in code the google builder also lents the python code.

$ make lint

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template. This library uses the python Requests Library.

History

0.1.0 (2019-10-04)

  • First release on PyPI.

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

huvr_client-0.1.0.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

huvr_client-0.1.0-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 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