import requests
import json

url = "https://esp32-server-324409-default-rtdb.firebaseio.com/Device 4.json"

querystring = {"auth":"4gmoOLRzpGxxxxxxxxxxxx8Ugz0aABOT6pf"}

response = requests.request("GET", url, params=querystring)


line = json.loads(response.text)
#data = str(line['data'])
print(line)

797bf7417fe54e5c097abc6bcdd2f743ef4fff0d
<mask token>

<mask token>
print(line)

<mask token>
url = 'https://esp32-server-324409-default-rtdb.firebaseio.com/Device 4.json'
querystring = {'auth': '4gmoOLRzpGxxxxxxxxxxxx8Ugz0aABOT6pf'}
response = requests.request('GET', url, params=querystring)
line = json.loads(response.text)
print(line)

import requests
import json
url = 'https://esp32-server-324409-default-rtdb.firebaseio.com/Device 4.json'
querystring = {'auth': '4gmoOLRzpGxxxxxxxxxxxx8Ugz0aABOT6pf'}
response = requests.request('GET', url, params=querystring)
line = json.loads(response.text)
print(line)

import requests
import json

url = "https://esp32-server-324409-default-rtdb.firebaseio.com/Device 4.json"

querystring = {"auth":"4gmoOLRzpGxxxxxxxxxxxx8Ugz0aABOT6pf"}

response = requests.request("GET", url, params=querystring)


line = json.loads(response.text)
#data = str(line['data'])
print(line)
