Buckets:

dr-tkxx's picture
download
raw
561 Bytes
from classes import API
from fastapi import FastAPI, HTTPException
app = FastAPI(
title="API Dicionário - Português Brasil",
swagger_ui_parameters={"defaultModelsExpandDepth": -1})
"""
# ================================= #
Created by https://github.com/atrikx/
# ================================= #
"""
@app.get("/{palavra}", tags=["Sinônimos"])
async def sinonimos(palavra: str):
sinonimos = await API().sinonimos(palavra)
if not sinonimos:
raise HTTPException(status_code=400, detail="Palavra inválida")
return sinonimos

Xet Storage Details

Size:
561 Bytes
·
Xet hash:
75e59034106db9f64010dd3a30a7868161cd5446d25f964a1cf840c6fb0e4f3c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.