You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cp config/.env.example config/.env
docker-compose up --build -d
Docs (Swagger UI):
localhost:8000/docs
Endpoints:
POST /books # crawl booksGET /books # list booksGET / # health check
Example Requests/Responses:
Request:
POST /booksHeaders:Authorization: apikeyBody:
{
"source": "kitapsepeti"
}
Response:
{
"detail": "Crawl started for source: kitapsepeti"
}
Request:
GET /booksHeaders:Authorization: apikeyQuery Params:source: str (kitapsepeti, kitapyurdu) Book source (required)page: int Page number (optional)size: int Items per page (optional)sort: str (id, title) Sort by given value (optional)order: str (asc, desc) Order by given value (optional)