Original Repository: https://github.com/cybledev/odin-sdk-js
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 withnpm install -g browserify
, perform the following (assuming main.js is your entry file):
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
Generate your Odin API key from the Odin dashboard.