summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-05-31 20:51:26 +0800
committerKeuin <[email protected]>2023-05-31 20:51:26 +0800
commit10bafe3fae2e8a06d4814ccc6cc499712cfaad46 (patch)
treee81bbcda1f59388ac76a8c9b9f3cd04c6e6ffeb3
parentc10ca0b747a19c1e432346c61abdbf9956905af7 (diff)
WIP: web API
-rw-r--r--web.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/web.py b/web.py
new file mode 100644
index 0000000..63d315d
--- /dev/null
+++ b/web.py
@@ -0,0 +1,12 @@
+import re
+
+from fastapi import FastAPI
+
+app = FastAPI()
+
+utaten_pattern = re.compile(r'[a-z0-9]+')
+
+
[email protected]("/utaten/{item_id}/pdf")
+def get_utaten_lyric_pdf(item_id: str):
+ raise NotImplementedError