Home
Softono

Closeio Api

Open source MIT Python
69
Stars
46
Forks
7
Issues
25
Watchers
5 months
Last Commit

 About Closeio Api

Python API Client for Close

Platforms

Web Self-hosted

Languages

Python

Need Help Installing Closeio Api?

We provide expert installation service for this software. Our team will install, configure, and secure Closeio Api on your server. plans start at just $30.

Closeio Api

View on GitHub

Close API

PyPI version Test

A convenient Python wrapper for the Close API.

Installation

pip install closeio

Sample Usage (of API client)

from closeio_api import Client

api = Client('YOUR_API_KEY')

# post a lead
lead = api.post('lead', data={'name': 'New Lead'})

# get 5 most recently updated opportunities
opportunities = api.get('opportunity', params={'_order_by': '-date_updated', '_limit': 5})

# fetch multiple leads (using search syntax)
lead_results = api.get('lead', params={
    '_limit': 10,
    '_fields': 'id,display_name,status_label',
    'query': 'custom.my_custom_field:"some_value" status:"Potential" sort:updated'
})

Example scripts

Check out https://github.com/closeio/closeio-api-scripts for helpful scripts already written to accomplish some common tasks.

Other Languages

There are unofficial API clients available in other languages too, thanks to some awesome contributors: