diff --git a/main.py b/main.py index ba9ac78..053d6fa 100644 --- a/main.py +++ b/main.py @@ -188,6 +188,17 @@ async def fastapi_is_curve(network: str, pattern: str) -> bool: return is_pattern(network, pattern) +############################################################ +# title 1.[TITLE] +############################################################ +@app.get('/gettitleschema/') +async def fast_get_title_schema(network: str) -> dict[str, dict[str, Any]]: + return get_title_schema(network) + +@app.get('/gettitle/') +async def fast_get_title(network: str) -> dict[str, Any] + return get_title(network) + ############################################################ # junction 2.[JUNCTIONS] ############################################################