- Node
- NPM
- EMnify Application token
If you do not already have the above, download it from here
- Log in to the EMnify Portal
- Go to Integrations
- Scroll down to Application Tokens and create a token.
Clone the Examples Repo
git clone https://github.com/EMnify/API_Examples_JS.git
Navigate to the JS Authentication example
cd Get_Device_Status
npm install
Replace ${process.env.APP_TOKEN} in index.js with your Application Token
node index.js