Skip to content

closeio/close-api-scripts

Repository files navigation

Close API scripts

Example Python scripts for interacting with Close through its API using the closeio_api Python client.

Install basic dependencies

Before you start, you should already have git, python 3 and virtualenv installed. For OS X users, we recommend Homebrew.

Setup

  1. git clone https://github.com/closeio/close-api-scripts.git
  2. cd close-api-scripts
  3. virtualenv venv
  4. . venv/bin/activate
  5. pip install -r requirements.txt

Running a script

Example:

python scripts/run_leads_deleted_report.py -k MYAPIKEY 
...

If you have any questions, please contact support@close.com.