メシネーター

メシネーター · Ações GPT

Get Restaurant Information by Location and Genre

Get restaurant information by location name and genre

  • GET /macros/s/AKfycbzGem7QnD26_m9eEiIoa_k-IxWR2ZOGMw_GBWbgBdIqEZuoFla_t6txkmoQYZqZQRFz/execGetRestaurantInfoByLocationAndGenre

    Get restaurant information by location and genre

Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get Restaurant Information by Location and Genre",
    "description": "Get restaurant information by location name and genre",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://script.google.com"
    }
  ],
  "paths": {
    "/macros/s/AKfycbzGem7QnD26_m9eEiIoa_k-IxWR2ZOGMw_GBWbgBdIqEZuoFla_t6txkmoQYZqZQRFz/exec": {
      "get": {
        "description": "Get restaurant information by location and genre",
        "operationId": "GetRestaurantInfoByLocationAndGenre",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "description": "Location name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "genre",
            "in": "query",
            "description": "Genre",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false,
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestaurantInfoResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RestaurantInfoResponse": {
        "type": "object",
        "properties": {
          "restaurant_information": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}