1.0.2 • Published 8 months ago

@chcaa/zendesk-scraper v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Zendesk Scraper

A tool for scraping Zendesk API to get tickets

Installation

  • Install node.js version 16.x or higher

Usage

Run one of the following:

$ npx @chcaa/zendesk-scraper@latest ...

Local Usage

  • Clone this repository
  • Navigate to the root of the repository and run
$ npm install
$ node src/index.js ...

CLI options

  • -t, --token <token> required - The Zendesk API token (required)
  • -m, --email <email> required - The user email the token is associated with (required)
  • -u, --url <url> required - The URL of the Zendesk instance (required)
  • -d, --destination <path> optional - The path to the destination folder (required)
  • -s, --fromDate <date> required - The date to fetch data from UNIX timestamp (default 0)
  • -e, --toDate <date> required - The date to fetch data to UNIX timestamp (default now)

Example

$ npx @chcaa/zendesk-scraper@latest -t eXaMpLeToKeN -m example@example.com -u https://example.zendesk.com -d ./ -s 1689403425 -e 1692089025
node src/index.js -t eXaMpLeToKeN -m example@example.com -u https://example.zendesk.com -d ./ -s 1689403425 -e 1692089025
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago