Skip to content

πŸ›΄ Command line tools for Pipedrive CRM

License

Notifications You must be signed in to change notification settings

point8/pipetools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

27f7a9f Β· Sep 24, 2020

History

52 Commits
Sep 24, 2020
Jan 29, 2018
Jan 29, 2018
Dec 6, 2019
Jan 7, 2019

Repository files navigation

πŸ›΄ Command line tools for Pipedrive CRM

Command-line Interface

$ pipetools --help
Usage: pipetools [OPTIONS] COMMAND [ARGS]...

  Command line tools for Pipedrive CRM

Options:
  --help  Show this message and exit.

Commands:
  backup  Run Pipedrive CRM data backup
  deal    Fetch deal as JSON with DEALID (e.g. 42)

Fetch backup data from Pipedrive instance

$ pipetools backup --help
Usage: pipetools backup [OPTIONS] [OUTDIR]

  Run Pipedrive CRM data backup

Options:
  --token TEXT                    Pipedrive CRM API token
  --topic [users|deals|persons|organizations|pipelines|stages|files|activities]
                                  Select topic
  --stdout                        Output to stdout instead of file
  --help                          Show this message and exit.

Fetch single deal from Pipedrive instance

$ pipetools deal --help
Usage: pipetools deal [OPTIONS] DEALID

  Fetch deal as JSON with DEALID (e.g. 42)

Options:
  --outdir TEXT  Set directory to save JSON file
  --token TEXT   Pipedrive CRE API token
  --stdout       Output to stdout instead of file
  --help         Show this message and exit.

Example

Start full backup for all topics: "users", "deals", "persons", "organizations", "pipelines", "stages", "files" and "activities":

$ pipetools backup --token=123456790

Get JSON file (deals.json) with all deal data in "." for deal with id 42:

$ pipetools deal 42 --token 1234567890