Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Latest commit

 

History

History
48 lines (32 loc) · 560 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 560 Bytes

Example

How to run example

Start a http server

python -m http.server 8080

Visit http://localhost:8080

Config

Set AVS config object in the constructor

const avs = new AVS({
  clientId: 'amzn1.application-oa2-client.123...',
  deviceId: 'example_device',
  deviceSerialNumber: 123,
  redirectUri: `https://example.com/authresponse`
});

Development

Install dependencies

npm install

Watch and build

npm run watch

Build

npm run build

License

MIT