A python client for sky apis
Project description
Sky Api Client
This is the sky api python client library.
Installation
pip install sky_api_client
Examples
- Initialize the client
from sky_api_client import SkyApi
sky_api = SkyApi('subscription_key', 'access_token')
- Get list of all constituent
list = sky_api.constituent.list()
Available methods
- List all constituents
list = sky_api.constituent.list()
- Get a specific constituent
constituent = sky_api.constituent.get('constituent_id')
- Create a new constituent
new_constituent = sky_api.constituent.create({'first': '', 'last': ''})
- Update an existing constituent
updated_constituent = sky_api.constituent.update('constituent_id' ,{'first': '', 'last': ''})
- Delete a constituent
sky_api.constituent.delete('constituent_id')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sky_api_client-0.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for sky_api_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac90d532259c9a7c461e33326ea20ed335faf3dd8749fef5a00bae164c8d0cdc |
|
MD5 | fa7bb6972d7a60dea205327596df4dd7 |
|
BLAKE2b-256 | 2a49f746b472bb89436924ade2bef81ddb2a9a1a6fa336760ed032db008b4712 |