first commit
This commit is contained in:
12
testapi.py
Normal file
12
testapi.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
url = r"https://carlapi.bteam.construction/orange/battery_info"
|
||||
response = requests.get(url)
|
||||
data = response.json()
|
||||
print(data)
|
||||
|
||||
url = r"https://carlapi.bteam.construction/orange/mppt_info"
|
||||
response = requests.get(url)
|
||||
data = response.json()
|
||||
print(data)
|
||||
Reference in New Issue
Block a user