summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/api.py b/api.py
index 29f4f5c..e4df20b 100644
--- a/api.py
+++ b/api.py
@@ -3,6 +3,8 @@ from __main__ import app
@app.route("/api/info")
def api_info():
msg = """
+ <link rel="stylesheet" type="text/css" href="/static/style.css">
+ <pre>
You can access data with the api. There are multiple api routes to
get data. They are all in the format of [ip address]/api/[data]
@@ -14,6 +16,7 @@ def api_info():
returns the current target temperature
[ip]/api/on
returns True if the heating is off and False if it is off
+ </pre>
"""
return msg