Python API Client for

Language: Python

Keywords: api, api-client, closeio, python API

PyPI version CircleCI

A convenient Python wrapper for the API.


pip install closeio

Sample Usage (of API client)

from closeio_api import Client
import urllib

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 API clients available in other languages too, thanks to some awesome contributors:

Project Statistics

Sourcerank 7
Repository Size 202 KB
Stars 43
Forks 39
Watchers 18
Open issues 5
Dependencies 10
Contributors 16
Tags 4
Last updated
Last pushed

Top Contributors See all

Phil Freo Alexander Deynichenko Anthony Nemitz Stefan Wójcik Thomas Steinacher Javier Collado Joe Kemp Greg Hinch Francesco Levorato rupeal Kunal Kerkar Nick Sweeting Ishmael Riles Charles Chen craignagovan katecollins

Packages Referencing this Repo

Closeio Python library
Latest release 0.1 - Published - 43 stars
closeio Python Library
Latest release 1.0 - Updated - 43 stars

Recent Tags See all

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: 2016-12-27 17:15:57 UTC

Login to resync this repository