$ curl -X POST https://api.daliborfarny.com/oauth/token -d "client_id=3rdpart
y&client_secret=ws7TQHXp5W6444t4&grant_type=password&username=EMAIL&password=P
ASSWORD"
The server responds with a JSON containing the access_token:
{
"ok":true,
"status":200,
"data":{
"access_token":"62dd89362a635ff8692a590456e8a8118e61d9902",
"expires_in":31536000,
"token_type":"Bearer",
"scope":null,
"refresh_token":"ef687d958f83ad13dff915d89f54ab2d8322193a"
}
}
You can test this step manually from the command line:
Getting a list of your clocks
The next step is to get a list of clocks that are paired to your account. The pairing is done automatically
during the process of connecting the clock to the internet. Replace the
ACCESS_TOKEN
with the
access token you received in the previous step.
API call specification:
• Request type –
GET
• Endpoint URL –
/v1/devices?client_id=3rdparty&access_token=ACCESS_TOKEN&clie
nt_secret=ws7TQHXp5W6444t4
Example API call using curl:
$ curl -X GET "https://api.daliborfarny.com/v1/devices?client_id=3rdparty&acce
ss_token=62dd89362a635ff8692a590456e8a8118e61d9902&client_secret=ws7TQHXp5W644
4t4"
The JSON response returned by the cloud server:
{
"ok":true,
"status":200,
"data":[
Daliborfarny.com
Puri Nixie Clock - 1_en
Page 17 of 69
Summary of Contents for Puri Nixie
Page 1: ......
Page 10: ...Portrait mode Daliborfarny com Puri Nixie Clock 1_en Page 7 of 69...
Page 13: ...Last modified 1 November 2021 Daliborfarny com Puri Nixie Clock 1_en Page 10 of 69...
Page 15: ...Portrait mode Daliborfarny com Puri Nixie Clock 1_en Page 12 of 69...
Page 18: ...Last modified 1 November 2021 Daliborfarny com Puri Nixie Clock 1_en Page 15 of 69...
Page 38: ...Click the It s done next button Daliborfarny com Puri Nixie Clock 1_en Page 35 of 69...
Page 55: ...Daliborfarny com Puri Nixie Clock 1_en Page 52 of 69...
Page 71: ...Last modified 21 November 2021 Daliborfarny com Puri Nixie Clock 1_en Page 68 of 69...