API URL: http://www.dns-me.com/api/{Method}
Passwords
When you have created a device manually use the defined URL and Password.
When you have created a deivce group devices are created automatily when using the API. The Password of a deivce in a deivce group is calculated like this:
(Key is coded as Base64): Key = sha256( ToUTF8Bytes(deviceName) + MasterKey)
Example
- Device Group: test123_xxxxxxx.dns-me.com MasterKey: 4DC226493F3ADBE086BC071D05D0E8BF
- Device name: test123_mydevice.dns-me.com
- Device Password: SHA256(UTF8("test123_mydevice") + 4DC226493F3ADBE086BC071D05D0E8BF) = +wYh5UTxYuhXTII831uc2ZNZs4mG03CsNPWL7MQ7OKs=
Example usage
A example client in .net c# you can find on gidhub