From 10bafe3fae2e8a06d4814ccc6cc499712cfaad46 Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 31 May 2023 20:51:26 +0800 Subject: WIP: web API --- web.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web.py 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]+') + + +@app.get("/utaten/{item_id}/pdf") +def get_utaten_lyric_pdf(item_id: str): + raise NotImplementedError -- cgit v1.2.3