If you are only trying to get your API key, you can now do so directly from the developer portal in your web browser. If you click on your Account in the top right corner then go to "My Devices" you will see all of your LaMetric devices along with their respective API keys.
Hope this helps.
Julian
I got my LaMetric today and I am trying to follow the OAuth2 tutorial to get my developer API key in order to be able to push notifications locally to the device.
I created a notification app and set its redirect URL to "https://mydomain.com/dev/lametric/auth.html".
The auth.html file looks as follows:
Calling https://mydomain.com/dev/lametric/auth.html in browser redirects me to the according Authorization page where I "allow" access.
On the redirected page the POST request to https://developer.lametric.com/api/v2/oauth2/token always returns a 400 Bad Request response with the message
Google returns a lot of results on that error but I could not make much sense of any of it.
Any help is appreciated!
Julian