Skip to content

point8/pipetools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages