Added WebApi as an APP

This commit is contained in:
Christian Martinsson 2019-07-23 20:30:24 +00:00
parent 7e7f8ffaae
commit b44778d479

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"}
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "history": "102", "webapi": "104"}
headers = {"PRIVATE-TOKEN": sys.argv[1]}
def get_data(id_number):