Skip to main content

Python client for RENXT APIs

Project description

Sky Api Client

Python client for RENXT APIs.

Developed by Uddesh at Almabase

Installation

pip install sky_api_client

Examples

  1. Initialize the client
from sky_api_client import SkyApi

sky_api = SkyApi('subscription_key', 'access_token')
  1. Get list of all constituent
list = sky_api.constituent.list()

Available methods

  1. List all constituents
list = sky_api.constituent.list()
  1. Get a specific constituent
constituent = sky_api.constituent.get('constituent_id')
  1. Create a new constituent
new_constituent = sky_api.constituent.create({'first': '', 'last': ''})
  1. Update an existing constituent
updated_constituent = sky_api.constituent.update('constituent_id' ,{'first': '', 'last': ''})
  1. Delete a constituent
sky_api.constituent.delete('constituent_id')
  1. List all entity constituents
sky_api.address.list('constituent_id')

Available Entities and Methods

  1. address
    • list
    • get
    • create
    • update
    • delete
    • types
  2. code_table
    • list
    • get
    • create
    • update
    • delete
  3. constituent
    • list
    • get
    • create
    • update
    • delete
    • search
  4. custom_field_category
    • list
  5. custom_fields
    • list
    • create
    • update
    • delete
  6. education
    • list
    • get
    • create
    • update
    • delete
  7. email_addresses
    • list
    • create
    • update
    • delete
    • types
  8. phone
    • list
    • get
    • create
    • update
    • delete
    • types
  9. relationship
    • list
    • get
    • create
    • update
    • delete
  10. table_entry
    • list
    • get
    • create
    • update
    • delete
  11. subscription_webhook
    • list
    • get
    • create
    • delete
  12. online_presence
    • list
    • create
    • get
    • update
    • delete
    • types
  13. constituent_address
    • list
  14. constituent_custom_field
    • list
  15. constituent_education
    • list
  16. constituent_email_address
    • list
  17. constituent_online_presence
    • list
  18. constituent_phone
    • list
  19. constituent_relationship
    • list
  20. action
    • list
    • create
    • get
    • update
    • delete
    • types
    • list_all
  21. action_status
    • list

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

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

sky_api_client-3.3.10.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sky_api_client-3.3.10-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file sky_api_client-3.3.10.tar.gz.

File metadata

  • Download URL: sky_api_client-3.3.10.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for sky_api_client-3.3.10.tar.gz
Algorithm Hash digest
SHA256 42df242e8c4cad24c625c1dfcbda573a643ac4a995e1bd812fe62a13b8f799cc
MD5 7a1bd541251eeab41a89fdec572121a3
BLAKE2b-256 5cf89dcf112459cca7fb671c7852bbcaa21cf7493fe0a3ea6aa2ba8653eb5548

See more details on using hashes here.

File details

Details for the file sky_api_client-3.3.10-py3-none-any.whl.

File metadata

  • Download URL: sky_api_client-3.3.10-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for sky_api_client-3.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0e1ed4eca3571e896a01582a183cb1659b4d812e088589d1bb2a3455b8d9876d
MD5 696de00f686c3375b2b7664940e68a28
BLAKE2b-256 dc56515661ebb05a8c400de8673553aa837ce15cacfe7aa5ca5f2d2c621f6669

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page