closeio/closeio-api


Python API Client for Close.io

http://developer.close.io/

Language: Python

Keywords: api, api-client, closeio, python


Close.io API

PyPI version CircleCI

A convenient Python wrapper for the Close.io API.

Installation

pip install closeio

Sample Usage (of API client)

from closeio_api import Client
import urllib

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 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
Created
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_api
Closeio Python library
Latest release 0.1 - Published - 43 stars
closeio
Close.io 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

CNXTEoE/closeio-api
Python API Client & Examples for Close.io
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