Open loop opened 7 years ago
Hello,
This isn't meant to be used directly with Google Music, its allows Alexa to control an instance of https://github.com/microadam/google-music-player
The GOOGLE_MUSIC_PLAYER and API_KEY env vars are used to connect to that application (which then connects to google music itself). I have hacked this together fairly quickly, so I haven't added much in the way of documentation. If you are wanting to set it up, let me know if you run into any issues and I will see if I can help
I'm also a little confused - do you mean that you should front the lambda function with api gateway and use that URL in GOOGLE_MUSIC_PLAYER env variable?
The way this works is that you run an instance of https://github.com/microadam/google-music-player on your home server (or wherever you like really) and expose it to the internet on some sort of domain (e.g http://www.myserver.com:7878) and then you setup this AWS LAMBDA function and put the environment variable of GOOGLE_MUSIC_PLAYER to be your domain (e.g http://www.myserver.com:7878).
What does this env variable refer to? The URL to Google Music?
Also for the API keys, as far as I am aware Google doesn't provide the API key, what API key does this need?