This repository has been archived on 2025-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
GameCoverApi/gamecoverapi/gamecoverapi.py

20 lines
287 B
Python
Raw Normal View History

2025-01-09 21:16:22 +01:00
from fastapi import FastApi
from pydantic import BaseModel
app = FastApi()
class Cover(BaseModel):
name: str
logo: str
vid: str
@app.get("/search/{console}")
def search(sha1: str | None, name: str | None) -> list[Cover]:
pass
def start() -> None:
print("oui")