# Sky Api Client
Python client for RENXT APIs.
Developed by Uddesh at [Almabase](https://almabase.com)
## Installation
```
pip install sky_api_client
```
## Examples
1. Initialize the client
```python
from sky_api_client import SkyApi
sky_api = SkyApi('subscription_key', 'access_token')
```
2. Get list of all constituent
```python
list = sky_api.constituent.list()
```
## Available methods
1. List all constituents
```python
list = sky_api.constituent.list()
```
2. Get a specific constituent
```python
constituent = sky_api.constituent.get('constituent_id')
```
3. Create a new constituent
```python
new_constituent = sky_api.constituent.create({'first': '', 'last': ''})
```
4. Update an existing constituent
```python
updated_constituent = sky_api.constituent.update('constituent_id' ,{'first': '', 'last': ''})
```
5. Delete a constituent
```python
sky_api.constituent.delete('constituent_id')
```
6. List all entity constituents
```python
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
These entities can be used same as above example for `constituent`.
```python
email_address_list = sky_api.email_addresses.list()
```
> Note:- Current version doesn't have refresh token functionality.
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/kalyanvarma/skyapi",
"name": "sky-api-client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": null,
"keywords": null,
"author": "Rajeev K L",
"author_email": "rajeev@almabase.com",
"download_url": "https://files.pythonhosted.org/packages/33/56/f1e29b49c0b2f5b275d7f8a5dd3055828526a9c2bb9f608c9187a621f555/sky_api_client-3.3.3.tar.gz",
"platform": null,
"description": "# Sky Api Client\n\nPython client for RENXT APIs.\n\nDeveloped by Uddesh at [Almabase](https://almabase.com)\n\n\n## Installation\n\n```\npip install sky_api_client\n```\n\n## Examples\n\n1. Initialize the client\n\n```python\nfrom sky_api_client import SkyApi\n\nsky_api = SkyApi('subscription_key', 'access_token')\n```\n\n2. Get list of all constituent\n\n```python\nlist = sky_api.constituent.list()\n```\n\n## Available methods\n\n1. List all constituents\n\n```python\nlist = sky_api.constituent.list()\n```\n\n2. Get a specific constituent\n\n```python\nconstituent = sky_api.constituent.get('constituent_id')\n```\n\n3. Create a new constituent\n\n```python\nnew_constituent = sky_api.constituent.create({'first': '', 'last': ''})\n```\n\n4. Update an existing constituent\n\n```python\nupdated_constituent = sky_api.constituent.update('constituent_id' ,{'first': '', 'last': ''})\n```\n\n5. Delete a constituent\n\n```python\nsky_api.constituent.delete('constituent_id')\n```\n\n6. List all entity constituents\n```python\nsky_api.address.list('constituent_id')\n```\n\n## Available Entities and Methods\n1. address\n - list\n - get\n - create\n - update\n - delete\n - types\n2. code_table\n - list\n - get\n - create\n - update\n - delete\n3. constituent\n - list\n - get\n - create\n - update\n - delete\n - search\n4. custom_field_category\n - list\n5. custom_fields\n - list\n - create\n - update\n - delete\n6. education\n - list\n - get\n - create\n - update\n - delete\n7. email_addresses\n - list\n - create\n - update\n - delete\n - types\n8. phone\n - list\n - get\n - create\n - update\n - delete\n - types\n9. relationship\n - list\n - get\n - create\n - update\n - delete\n10. table_entry\n - list\n - get\n - create\n - update\n - delete\n11. subscription_webhook\n - list\n - get\n - create\n - delete\n12. online_presence\n - list\n - create\n - get\n - update\n - delete\n - types\n13. constituent_address\n - list\n14. constituent_custom_field\n - list\n15. constituent_education\n - list\n16. constituent_email_address\n - list\n17. constituent_online_presence\n - list\n18. constituent_phone\n - list\n19. constituent_relationship\n - list\n\nThese entities can be used same as above example for `constituent`.\n```python\nemail_address_list = sky_api.email_addresses.list()\n```\n\n> Note:- Current version doesn't have refresh token functionality.\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Python client for RENXT APIs",
"version": "3.3.3",
"project_urls": {
"Homepage": "https://bitbucket.org/kalyanvarma/skyapi"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b49ab00275578372bc82f7d14a6053211eac147a9ee038972e3fe9aa52318bb0",
"md5": "46378789090189d558162b01eb07ba25",
"sha256": "fd96538dd7905f499ca7c5d29cf1d11e3eb2a674d1ffaad9627aeb0796009d3c"
},
"downloads": -1,
"filename": "sky_api_client-3.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "46378789090189d558162b01eb07ba25",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 25096,
"upload_time": "2024-04-08T12:26:11",
"upload_time_iso_8601": "2024-04-08T12:26:11.232950Z",
"url": "https://files.pythonhosted.org/packages/b4/9a/b00275578372bc82f7d14a6053211eac147a9ee038972e3fe9aa52318bb0/sky_api_client-3.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3356f1e29b49c0b2f5b275d7f8a5dd3055828526a9c2bb9f608c9187a621f555",
"md5": "6f6e9a3ace29eefcbd076e42a4d2e65d",
"sha256": "8ac90a810ac61cdbfcd7d3eafca847cc7b241df6a803af4db83788d56eb7af95"
},
"downloads": -1,
"filename": "sky_api_client-3.3.3.tar.gz",
"has_sig": false,
"md5_digest": "6f6e9a3ace29eefcbd076e42a4d2e65d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 9546,
"upload_time": "2024-04-08T12:26:13",
"upload_time_iso_8601": "2024-04-08T12:26:13.510115Z",
"url": "https://files.pythonhosted.org/packages/33/56/f1e29b49c0b2f5b275d7f8a5dd3055828526a9c2bb9f608c9187a621f555/sky_api_client-3.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-08 12:26:13",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "kalyanvarma",
"bitbucket_project": "skyapi",
"lcname": "sky-api-client"
}