diff --git a/NAApiClient.php b/NAApiClient.php index 0f369b5..51ad2b3 100644 --- a/NAApiClient.php +++ b/NAApiClient.php @@ -7,8 +7,8 @@ define('JSON_ERROR_TYPE',3); define('NOT_LOGGED_ERROR_TYPE', 4); //unable to get access token -define('BACKEND_BASE_URI', "http://api.netatmo.net/"); -define('BACKEND_SERVICES_URI', "http://api.netatmo.net/api"); +define('BACKEND_BASE_URI', "https://api.netatmo.net/"); +define('BACKEND_SERVICES_URI', "https://api.netatmo.net/api"); define('BACKEND_ACCESS_TOKEN_URI', "https://api.netatmo.net/oauth2/token"); define('BACKEND_AUTHORIZE_URI', "https://api.netatmo.net/oauth2/authorize");