Skip to content

actuallyrizzn/cloze-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cloze SDK

Multi-language SDK for the Cloze API with 100% endpoint coverage.

Overview

This repository contains official SDKs for integrating with the Cloze CRM API. Each SDK provides complete coverage of all Cloze API endpoints, including analytics, team management, account operations, projects, people, companies, timeline, and webhooks.

Available SDKs

Python SDK

  • Location: python/
  • Status: ✅ Production Ready
  • Coverage: 100% of all API endpoints
  • Test Coverage: 100% code coverage
  • Quick Start: See Python SDK README

PHP SDK

  • Location: php/
  • Status: ✅ Production Ready
  • Coverage: 100% of all API endpoints
  • Test Coverage: 100% code coverage
  • Quick Start: See PHP SDK README

Quick Start

Python

pip install cloze-sdk
from cloze_sdk import ClozeClient

client = ClozeClient(api_key="your_api_key")
profile = client.account.get_profile()

PHP

composer require cloze/cloze-sdk-php
use Cloze\SDK\ClozeClient;

$client = new ClozeClient('your_api_key');
$profile = $client->account->getProfile();

Features

  • 100% API Coverage - All 43+ Cloze API endpoints supported
  • Full Test Coverage - 100% code coverage with unit, integration, and E2E tests
  • Multiple Authentication Methods - API Key, OAuth 2.0, Bearer Token
  • Comprehensive Error Handling - Custom exceptions for all error types
  • Type Safety - Full type hints and documentation
  • Production Ready - Battle-tested and actively maintained

API Coverage

All SDKs support the complete Cloze API:

  • Analytics (6 endpoints) - Activity, funnel, leads, projects, team activity
  • Team (4 endpoints) - Members, nodes, roles
  • Account (8 endpoints) - Profile, fields, segments, stages, steps, views
  • Projects (6 endpoints) - CRUD operations, find, feed
  • People (6 endpoints) - CRUD operations, find, feed
  • Companies (6 endpoints) - CRUD operations, find, feed
  • Timeline (4 endpoints) - Communications, content, todos, message opens
  • Webhooks (3 endpoints) - List, subscribe, unsubscribe

Documentation

Development

Running Tests

Python:

cd python
make test

PHP:

cd php
make test

Contributing

Contributions are welcome! Please see the individual SDK READMEs for contribution guidelines.

Support

License

About

Multi-language SDK for the Cloze API with 100% endpoint coverage. Python and PHP implementations with comprehensive test suites.

Topics

Resources

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE-CODE
Unknown
LICENSE-DOCS

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors