Update code in endpoints/lol.get.py
This commit is contained in:
parent
f0e370e93c
commit
0d37187218
@ -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
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user