alexa-remote-api

Api wrapper around alexa-remote2

Usage no npm install needed!

<script type="module">
  import alexaRemoteApi from 'https://cdn.skypack.dev/alexa-remote-api';
</script>

README

Alexa Remote Api

This package is an Api wrapper around Apollon77/alexa-remote, a great package to control your Alexa devices.

Installation

npm install alexa-remote-api

Configuration

Create a config file in ~/.alexa-remote-api/config.json with your amazon credentials

{
    "email": "foo@bar.com",
    "password": "supersecret",
    "bluetooth": false
}

Run

    node dist/server

... or with a custom port

    PORT=3000 node dist/server

Example

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"device":"echo","text":"hello world"}' \
  http://localhost:3000/speak

Changelog

0.0.3

  • package updates