From 099b121b5a9188514f56fb0728d777d3de8d0fcf Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jan 2022 15:36:45 +0000 Subject: Api formatting --- api.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api.py') 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 = """ + +
     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
+    
""" return msg -- cgit v1.2.3