added tut

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:43:31 +02:00
parent eeba48e52e
commit 6e31b858d3
1 changed files with 7 additions and 12 deletions

19
main.py
View File

@ -100,18 +100,13 @@ if __name__ == '__main__':
</ul>
<br>
<p>How to use the API:</p>
<ul>
<li><code>/api/send</code>: Send a SMS</li>
<p>list of parameters:</p>
<ul>
<li><code>number: The phone number of the recipient</code></li>
<li><code>message: The message to send</code></li>
<ul>
<p>Example:</p>
<ul>
<li><code>/api/send?number=01234567890&message="Hello World"</code></li>
</ul>
</ul>
<code>/power?power=True</code>
<br>
<code>/power?power=False</code>
<br>
<code>/mode?mode=0</code>
<br>
<code>/mode?mode=1&r=0&g=0&b=0</code>
</body>
</html>
'''