Book Search

Book Search · GPT-Aktionen

Google Books API

API for searching Google Books.

  • GET /volumessearchBooks

    Search for books on Google Books

Ursprüngliches API-Schema
{
  "name": "Google_Book_Search",
  "openapi": "3.1.0",
  "info": {
    "title": "Google Books API",
    "description": "API for searching Google Books.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://www.googleapis.com/books/v1"
    }
  ],
  "paths": {
    "/volumes": {
      "get": {
        "description": "Search for books on Google Books",
        "operationId": "searchBooks",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Query string to search for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "totalItems": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {},
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "key",
        "example": "AIzaSyAaRyODrUa8bVrW0VmtLq6OPds_gfIllUE"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}

Playbook Link API

API for generating Google Play Store book links and sending them via email.

  • POST /playbook-linkGenerate Google Play Store book links and send them via email.
Ursprüngliches API-Schema
{
  "name": "Email_Book_List",
  "openapi": "3.1.0",
  "info": {
    "title": "Playbook Link API",
    "description": "API for generating Google Play Store book links and sending them via email.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://www.caridi.com"
    }
  ],
  "paths": {
    "/playbook-link": {
      "post": {
        "operationId": "createPlaybookLinks",
        "summary": "Generate Google Play Store book links and send them via email.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "description": "The email address to send the book links to."
                  },
                  "books": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The unique identifier of the book."
                        },
                        "title": {
                          "type": "string",
                          "description": "The title of the book."
                        },
                        "author": {
                          "type": "string",
                          "description": "The author of the book."
                        }
                      }
                    }
                  }
                },
                "required": [
                  "email",
                  "books"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Links generated and email sent successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string",
                      "format": "email"
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request format.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Failed to send email.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}