Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zohocrmapi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zohocrmapi

A Zoho CRM API

  • 0.0.11
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc