Update code in endpoints/lol.get.py

This commit is contained in:
Backend IM Bot 2025-03-22 08:38:50 +00:00
parent f0e370e93c
commit 0d37187218

View File

@ -0,0 +1,16 @@
from fastapi import APIRouter
router = APIRouter()
@router.get("/lol")
async def get_lol(count: int = 1):
"""Return lol in specified amount"""
return {
"message": "lol" * count,
"method": "GET",
"_verb": "get",
"features": {
"rate_limit": 100,
"repeats": count
}
}