commit files

This commit is contained in:
szakal
2024-09-25 12:22:14 +02:00
parent 61266427c6
commit 09b883c9eb
14 changed files with 1632 additions and 0 deletions

7
api.py Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/python3
from flask_sqlalchemy import SQLAlchemy
from markupsafe import escape
import requests, json, ythdd_v
def index():
return json.dumps({status: 200, msg: "OK (%s, api v%s)" % (ythdd_v.version, ythdd_v.api_version)})