A Zoho CRM API
Project description
Zoho CRM API
This API is for people who are having trouble with the official Zoho API.
- Supports Zoho API v2
For full documentation visit zoho-crm-api.readthedocs.io.
Quickstart
Install:
$ pip install zohocrmapi
Get a Client ID, Client Secret, and Grant Token from Zoho, then create a ZohoCRMRestClient object and generate an access token:
from zohocrm import ZohoCRMRestClient
client_id = '<paste your Zoho client id>'
client_secret = '<paste your Zoho client secret>'
redirect_uri = '<paste your Redirect URL>'
grant_token = '<paste your newly created token>'
zoho_client = ZohoCRMRestClient(client_id, client_secret, redirect_uri)
zoho_client.generate_access_token(grant_token)
Download a Record from the API, for example a Contact:
from zohocrm import ZohoCRMContact
contact_id = 1234023423424
contact = ZohoCRMContact.fetch(
zoho_client,
contact_id
)
Create a new record:
contact = ZohoCRMContact(zoho_client)
contact.Last_Name = "John"
Update or save a Record:
# no id? insert
contact.save() # or contact.insert()
# id = <int>? update
contact.id = 12232423423
contact.save() # or contact.update()
Delete a Record:
# delete loaded record
contact.delete()
# delete non-loaded record from ID
ZohoCRMContact.delete_id(zoho_client, contact_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zohocrmapi-0.0.11.tar.gz.
File metadata
- Download URL: zohocrmapi-0.0.11.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b32a084864af5950b18fb4e4db2e120540a31b9ee93ec26c70b60e290e9dd7
|
|
| MD5 |
7815da8670515cb2b305e8f8b4453b78
|
|
| BLAKE2b-256 |
7fdea54bbcde75cdb30dfeec04e7ddf5ad918038875355880fc9d49ac4cfc4b9
|
File details
Details for the file zohocrmapi-0.0.11-py3-none-any.whl.
File metadata
- Download URL: zohocrmapi-0.0.11-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d75e8d0d1eef1e0bfb38c41a6ab0d03cf09b76e2abcc738510245924cd913080
|
|
| MD5 |
64c74c878bd0325d58cd852de5d8d682
|
|
| BLAKE2b-256 |
0d463a6218ca1a104d043e14ea2aec477447d04f73ffe8cc96bc15c5a531911e
|