/Paw-TicketEvolutionXSignature

A DynamicValue extension for Paw to compute X-Signature header for Ticket Evolution.

Primary LanguageTypeScriptMIT LicenseMIT

This is an implementation to generate the X-Signature required of the Ticket Evolution API for the Paw application.

Install the Extension

  1. Download the .zip archive of the latest version
  2. Open the Paw application
  3. Open preferences for the Paw application
  4. Click on "Extensions" in Paw's preferences
  5. Click on the "Open Extensions Directory" button at the bottom of the "Extensions" preference pane Click "Open Extensions Directory"
  6. Copy the .zip archive of the latest version to the Extensions directory
  7. Unzip the .zip archive which should create a folder named com.bryanjswift.PawExtensions.XSignature

Use the Extension

  1. Create a new request for the Ticket Evolution API Create API Request
  2. Add a header with the name X-Signature, for the value select "Ticket Evolution X-Signature" Add X-Signature
  3. Click on "Ticket Evolution X-Signature" in the "Header Value" column Open X-Signature
  4. Put the API Secret Key use to access the API in the field labeld "API Secret"
  5. Add a header with the name X-Token, Put the API Token use in the "Header Value" column for X-Token Add X-Token

Development

Prerequisites

npm install

Build

Compiles the source files into the JavaScript which can be used by the Paw application.

make build

Install

Moves the built files into the local "Application Support" directory for com.luckymarmot.Paw.

make install

Test

npm test

License

This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Copyright © 2019 Bryan J Swift