Python API Client for Close

Language: Python

Keywords: api, api-client, closeio, python

Close API

PyPI version CircleCI

A convenient Python wrapper for the Close API.


pip install closeio

Sample Usage (of API client)

from closeio_api import Client

api = Client('YOUR_API_KEY')

# post a lead
lead ='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 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:

Project Statistics

Sourcerank 7
Repository Size 212 KB
Stars 45
Forks 43
Watchers 21
Open issues 7
Dependencies 4
Contributors 22
Tags 5
Last updated
Last pushed

Top Contributors See all

Phil Freo Alexander Deynichenko Anthony Nemitz Stefan Wójcik Thomas Steinacher Eric Engoron Javier Collado Joe Kemp Greg Hinch Francesco Levorato Casey Foster katecollins Kunal Kerkar Nick Sweeting Ishmael Riles Edward Betts Noam Rubin Charles Chen craignagovan Gareth Dwyer

Packages Referencing this Repo

Close API Python Client
Latest release 1.1 - Updated - 45 stars
Closeio Python library
Latest release 0.1 - Published - 45 stars

Recent Tags See all

v1.1 February 22, 2019
v1.0 May 08, 2017
v0.5 January 24, 2017
v0.4 September 10, 2016
v0.3 June 12, 2016

Interesting Forks See all

Python API Client & Examples for
Python - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-02-22 22:03:44 UTC

Login to resync this repository