Sky Api Client
Python client for RENXT APIs.
Developed by Uddesh at Almabase
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')
- List all entity constituents
sky_api.address.list('constituent_id')
Available Entities and Methods
- address
- list
- get
- create
- update
- delete
- types
- code_table
- list
- get
- create
- update
- delete
- constituent
- list
- get
- create
- update
- delete
- search
- custom_field_category
- custom_fields
- education
- list
- get
- create
- update
- delete
- email_addresses
- list
- create
- update
- delete
- types
- phone
- list
- get
- create
- update
- delete
- types
- relationship
- list
- get
- create
- update
- delete
- table_entry
- list
- get
- create
- update
- delete
- subscription_webhook
- online_presence
- list
- create
- get
- update
- delete
- types
- constituent_address
- constituent_custom_field
- constituent_education
- constituent_email_address
- constituent_online_presence
- constituent_phone
- constituent_relationship
- action
- list
- create
- get
- update
- delete
- types
- list_all
- action_status
These entities can be used same as above example for constituent
.
email_address_list = sky_api.email_addresses.list()
Note:- Current version doesn't have refresh token functionality.
Updating Version
$ semversioner add-change --type patch --description "description for the change"
$ ./release