diff options
author | Keuin <[email protected]> | 2023-05-31 20:51:26 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-05-31 20:51:26 +0800 |
commit | 10bafe3fae2e8a06d4814ccc6cc499712cfaad46 (patch) | |
tree | e81bbcda1f59388ac76a8c9b9f3cd04c6e6ffeb3 /web.py | |
parent | c10ca0b747a19c1e432346c61abdbf9956905af7 (diff) |
WIP: web API
Diffstat (limited to 'web.py')
-rw-r--r-- | web.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |