Book Bingo

Book Bingo · GPT アクション

eBooks API

  • GET /v2/US/book/searchSearch for drm free books by title or author
元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "eBooks API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.ebooks.com"
    }
  ],
  "paths": {
    "/v2/US/book/search": {
      "get": {
        "summary": "Search for drm free books by title or author",
        "operationId": "searchBooks",
        "parameters": [
          {
            "name": "term",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A JSON array of books",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "books": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Book"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Book": {
        "type": "object",
        "properties": {
          "term": {
            "type": "string"
          }
        }
      }
    }
  }
}