Skip to content

Commit 46e4090

Browse files
committed
updated urls and headers for API changes
1 parent 63150b8 commit 46e4090

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

iaquaapi.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,19 @@
1616
# iAquaLink mobile app REST API
1717
_API_APP_KEY = "EOOEMOW4YR6QNB07"
1818
_API_HTTP_HEADERS = {
19-
"User-Agent": "iAquaLink/70 CFNetwork/901.1 Darwin/17.6.0",
20-
"Content-Type": "application/json",
21-
"Accept": "*/*",
19+
"user-agent": "okhttp/3.14.7",
20+
"content-type": "application/json",
2221
}
2322
_API_LOGIN = {
24-
"url": "https://support.iaqualink.com/users/sign_in.json",
23+
"url": "https://prod.zodiac-io.com/users/v1/login",
2524
"method": "POST"
2625
}
2726
_API_SYSTEMS = {
28-
"url": "https://support.iaqualink.com/devices.json",
27+
"url": "https://r-api.iaqualink.net/devices.json",
2928
"method": "GET"
3029
}
3130
_API_SESSION = {
32-
"url": "https://iaqualink-api.realtime.io/v1/mobile/session.json",
31+
"url": "https://p-api.iaqualink.net/v1/mobile/session.json",
3332
"method": "GET"
3433
}
3534

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
{
1616
"title": "iaqua-poly: a Polyglot NodeServer for iAquaLink™ cloud service.",
1717
"author": "W. Randy King (Goose66)",
18-
"version": "1.0.6",
19-
"date": "October 19, 2020",
18+
"version": "1.0.7",
19+
"date": "June 13, 2021",
2020
"source": "https://github.com/Goose66/iaqualink-polyglotv2",
2121
"license": "https://github.com/Goose66/iaqualink-polyglotv2/master/LICENSE"
2222
}

0 commit comments

Comments
 (0)