From b1d1f1f50baedf00883beb99260606cda7d74dcd Mon Sep 17 00:00:00 2001 From: frank Date: Sat, 10 Aug 2024 14:55:55 +0000 Subject: [PATCH] Update import.py --- import.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/import.py b/import.py index 745bccf..27c1ea9 100644 --- a/import.py +++ b/import.py @@ -1,4 +1,3 @@ - import os import time import requests @@ -10,7 +9,7 @@ def get_data(ts_start: int, ts_end: int, device_id: str, module_id: str, metrics 'Accept': 'application/json, text/plain, */*', 'Accept-Language': 'en-US,en;q=0.5', # 'Accept-Encoding': 'gzip, deflate, br, zstd', - 'Authorization': 'Bearer 52d42bfc1777599b298b456c|7fe6f41be4d58dc5fd63f91ae66a8054', + 'Authorization': 'Bearer 52d42bfc1777599b298b456c|24df9731beeed2ddfc71aaea971a367e', 'Content-Type': 'application/json;charset=utf-8', 'Origin': 'https://weathermap.netatmo.com', 'DNT': '1',