How zoho/zcrm-python-sdk works
This is a Python client SDK wrapping Zoho CRM APIs. Applications initialize configuration and obtain a REST client, then use its module, record, organization, or metadata-facing objects to request CRM operations; handlers construct API requests, which are authenticated, sent, and decoded into SDK responses. OAuth supports grant/refresh-token flows and token persistence, including the documented file, MySQL, and custom-handler choices. The graph reflects README capabilities and sampled source; some handler-to-request wiring and unsampled capabilities are omitted where direct implementation evidence was unavailable.
Main entry points: OAuthClient.py OAuth client · RestClient.py REST client · Handler.py API handlers · Request.py CRM HTTP request
Components 16
Client entry and models
- REST client
zcrmsdk/RestClient.py - Configuration
zcrmsdk/Utility.py - CRM entities
zcrmsdk/Operations.py - Organization model
zcrmsdk/Org.py - Errors and logging
zcrmsdk/CLException.py
CRM API operations
- API handlers
zcrmsdk/Handler.py
OAuth and persistence
- OAuth client
zcrmsdk/OAuthClient.py - OAuth utilities
zcrmsdk/OAuthUtility.py - Token persistence
zcrmsdk/Persistence.py - OAuth HTTP connector
zcrmsdk/OAuthUtility.py
HTTP transport
- CRM HTTP request
zcrmsdk/Request.py - HTTP connector
zcrmsdk/Utility.py - API responses
zcrmsdk/Response.py
Other components
- Client application
- Zoho CRM API
- Zoho Accounts
Connections 21
- Client application → REST client: initializes and calls
- REST client → Configuration: initializes
- REST client → API handlers: dispatches requests
- REST client → CRM entities: creates models
- REST client → Organization model: creates organization
- Organization model → API handlers: delegates operations
- CRM entities → API handlers: dispatches operations
- API handlers → CRM HTTP request: constructs requests
- CRM HTTP request → OAuth client: authenticates request
- CRM HTTP request → HTTP connector: sends request
- HTTP connector → Zoho CRM API: sends HTTP
- CRM HTTP request → API responses: parses response
- API responses → Client application: returns result
- Configuration → OAuth client: configures
- Client application → OAuth client: requests tokens
- OAuth client → OAuth utilities: uses OAuth parameters
- OAuth client → OAuth HTTP connector: requests tokens
- OAuth HTTP connector → Zoho Accounts: sends OAuth request
- OAuth client → Token persistence: reads and writes tokens
- API handlers → Errors and logging: logs and raises
- OAuth client → Errors and logging: logs and raises