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' })
There are unofficial API clients available in other languages too, thanks to some awesome contributors:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4