Skip to content

Command line application on Node.js that connects to Zendesk API to list and view tickets.

Notifications You must be signed in to change notification settings

peterkejun/zendesk-ticket-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zendesk Ticket Viewer

Zendesk Ticket Viewer is a Node.js command line application that connects to the Zendesk API and views tickets.

Installation

Use npm to install modules used for this project.

npm i

Authentication

In order to authenticate,

  1. Replace the values in src/creds/sample_api_token.json with your Zendesk domain, email and API token.
  2. Rename the file from sample_api_token.json to api_token.json.

Usage

There are 6 commands, type them followed by a newline in the command line to trigger.

  • menu: Print the menu of commands.
  • 1: List all tickets (paginated).
  • 2: View a single ticket.
  • right arrow: View the next page in the list.
  • left arrow: View the previous page in the list.
  • quit: Quit the application.

Unit Tests

Unit test cases are created for all public interfaces. To run unit tests,

npm test

License

MIT

About

Command line application on Node.js that connects to Zendesk API to list and view tickets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published