Probiotic Yeast Optimization

Probiotic Yeast Optimization · GPT-Aktionen

Google Scholar API

An API for searching and retrieving academic articles from Google Scholar

  • GET /Search Google Scholar

    Search for academic articles on Google Scholar

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Google Scholar API",
    "description": "An API for searching and retrieving academic articles from Google Scholar",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://scholar.google.com/scholar"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Search Google Scholar",
        "description": "Search for academic articles on Google Scholar",
        "operationId": "searchScholar",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "num",
            "in": "query",
            "description": "Number of results to return (max 20)",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 10
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "Index of the first result to return",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "as_ylo",
            "in": "query",
            "description": "Filter articles published after this year",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1900
            }
          },
          {
            "name": "as_yhi",
            "in": "query",
            "description": "Filter articles published before this year",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1900
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "articles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "authors": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "publication": {
                            "type": "string"
                          },
                          "year": {
                            "type": "integer"
                          },
                          "citedBy": {
                            "type": "integer"
                          },
                          "link": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "totalResults": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "429": {
            "description": "Too many requests"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    }
  }
}