Skip to main content

Installation

For Node.js

For Browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):
Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: “Module not found: Error: Cannot resolve module”. Most certainly, you should disable the AMD loader:

Getting Started

Please follow the installation instruction and execute the following JS code:

Authorization

API Key Authentication

  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

Support and Contribution

Thank you for using the Odin SDK for Javascript. If you encounter any issues, find a bug, or want to contribute, feel free to open an issue or submit a pull request on our GitHub Repository. Your feedback and contributions are highly appreciated! For more information about our other projects and services, visit our website at https://odin.io.