Skip to content

Reference implementation of integrating with the Shiftboard API in JavaScript.

License

Notifications You must be signed in to change notification settings

shiftboard/postman-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shiftboard Postman Reference Client

This is a Postman collection for interacting with the API service for Shiftboard. The collection may be used directly, or as an example for developing custom code using data from Shiftboard.

To make use of the script you will need an active account on Shiftboard, an API Access Key, and Signature Key enabled in your account.

For more information on the Shiftboard APIs, see the documentation.

Instructions

  1. Import this collection (Shiftboard-API.postman_collection.json) into your workspace
  2. Select a request in the collection, or create a new one
  3. Set the request URI to {{shiftboardUri}}
  4. Add request query params:
  • method is the Shiftboard API method you are using, e.g., account.get
  • params (optional), are the API method params as JSON, e.g. {"id":108}
  1. Select an HTTP method for the request, either GET or POST.
  • For POST requests, set the request Body to {{postData}}
  1. Set your Environment (see below)
  2. Hit Send

Environment

To use these requests, you must have an Environment with three keys and values:

Technical Notes

Each request uses the Pre-request Script in the collection to manage packaging up the request. It adds additional query parameters, encodes the params, does authentication, signs the request, and so on.

LICENSE

MIT

About

Reference implementation of integrating with the Shiftboard API in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published