Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

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.