Skip to Main Content

Developer: Code Examples

Developer Documentation

Polaris API Service

Building the Authorization Hash Signature

The Polaris API Service utilizes the HTTP request header's authorization field.

  • Format
    • PWS [PAPIAccessKeyID]:[Signature]
  • Signature is a custom hash 
  • Example
    • Authorization: PWS polarisdev:j5h3Jee/23aUWT3OGRNEF06cOFc=

Code:

 

PowerPAC

Widgets

These JavaScript/HTML widgets can be placed in any HTML page.  Replace any instance of MYLIBRARY.COM with your domain, and follow any additional instructions contained in comments in the HTML.  These should work in all versions of PowerPAC 3.3 and above.