Recomendação de Livros
Recomendação de Livros · Ações GPT
Gutendex API
Search for books in the Project Gutenberg collection.
GET /booksSearchBooksSearch for books based on query parameters.
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "Gutendex API",
"description": "Search for books in the Project Gutenberg collection.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://gutendex.com"
}
],
"paths": {
"/books": {
"get": {
"description": "Search for books based on query parameters.",
"operationId": "SearchBooks",
"parameters": [
{
"name": "query",
"in": "query",
"description": "Search term to find books.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "filters",
"in": "query",
"description": "Filters to refine search results, such as author or subject.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"description": "Page number for pagination.",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "languages",
"in": "query",
"description": "Languages of the books.",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A list of books matching the search criteria.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"next": {
"type": "string"
},
"previous": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
}
}
},
"languages": {
"type": "array",
"items": {
"type": "string"
}
},
"subjects": {
"type": "array",
"items": {
"type": "string"
}
},
"formats": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"html": {
"type": "string"
},
"pdf": {
"type": "string"
}
}
},
"cover": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}