Update get_app_data.py

This commit is contained in:
Christoffer Martinsson 2024-02-22 07:10:09 +01:00
parent c01bdb29d3
commit dec012ee00

View File

@ -3,7 +3,7 @@ import requests
import sys
import os
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "history": "102", "webapi": "104", "chromecast": "148", "mqtt": "152"}
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "postrgresql": "102", "webapi": "104", "chromecast": "148", "mqtt": "152"}
headers = {"PRIVATE-TOKEN": sys.argv[1]}
def get_data(id_number):