VegasGPT

VegasGPT · Ações GPT

Get information on Las Vegas

Retrieves data for a Las Vegas.

  • GET /WeatherForecastWeatherForecast

    Get weather forecasts for a specified latitude and longitude, either daily or hourly.

  • GET /HotelSearch/vegasHotelSearch

    Search and sort hotel & casinos based on query parameters. Results include a url to bookings, pricing, discount offers, etc.

  • GET /ShowSearch/vegasShowSearch

    Search and sort shows based on query parameters. Results include a url to get tickets, pricing by day, discounts offers, etc.

  • GET /EventSearch/vegasEventSearch

    Search and sort events such as sporting events and concerts based on query parameters. Results include info on dates, secondary market pricing by dates, ticket purchase urls, etc.

  • GET /AttractionSearch/vegasAttractionSearch

    Search and sort popular attractions based on query parameters. Results include a url to attraction tickets, pricing by day, discount offers, etc.

  • GET /TourSearch/vegasTourSearch

    Search and sort popular tours based on query parameters. Results include a url to tour tickets, pricing by day, discount offers, etc.

  • GET /ImageSearch/vegasImageSearch

    Search for images that match the search query. Results include images urls, descriptions, attribution, etc.

  • GET /RestaurantSearchRestaurantSearch

    Search and sort restaurants based on query parameters. Results include information about restaurants including in some cases a reservation url.

  • GET /PlaceSearchPlaceSearch

    Search and sort places based on query parameters. Results include information about places found in the search including descriptions, location information, and categories that help describe the place

  • GET /GetDirectionsGetDirections

    Get directions between points for a specified travel type. Results include directions, an image of the route, and a link to Google for more accurate turn-by-turn directions.

  • GET /GetMapWithPointsGetMapWithPoints

    Retrieve a map image with the specified points.

  • GET /FlightSearchFindFlights

    Search for flights based on various parameters such as origin, destination, departure date, return date, and class of cabin, among others. The origin and destination have to be IATA codes.

  • GET /CarRentalSearchCarRentalSearch

    Search for car rentals given specific locations and date/time information.

Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get information on Las Vegas",
    "description": "Retrieves data for a Las Vegas.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.vegasgpt.ai"
    }
  ],
  "paths": {
    "/WeatherForecast": {
      "get": {
        "description": "Get weather forecasts for a specified latitude and longitude, either daily or hourly.",
        "operationId": "WeatherForecast",
        "parameters": [
          {
            "name": "longitude",
            "in": "query",
            "description": "The longitude of the location for which weather data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "latitude",
            "in": "query",
            "description": "The latitude of the location for which weather data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "The type of weather forecast required ('daily' or 'hourly')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "daily",
                "hourly"
              ]
            }
          }
        ],
        "deprecated": false
      }
    },
    "/HotelSearch/vegas": {
      "get": {
        "description": "Search and sort hotel & casinos based on query parameters. Results include a url to bookings, pricing, discount offers, etc.",
        "operationId": "HotelSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for hotel & casinos names or other related information. Be descriptive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "hotelLocation",
            "in": "query",
            "description": "The general location of the hotel",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "All Locations",
                "On-Strip",
                "Off-Strip",
                "Downtown",
                "Other"
              ]
            }
          },
          {
            "name": "hotelTags",
            "in": "query",
            "description": "Tags to help with search. Can be more than one.  Comma Delimited. Examples of individual tags include: 'Family-Friendly','Pet-Friendly','Casino', 'Hotel', 'On-Strip', 'Budget-Friendly', etc.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of hotel results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results (e.g., 'price_ascending', 'price_descending', 'relevance', 'rating', 'discount','popularity')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "price_ascending",
                "price_descending",
                "relevance",
                "rating",
                "discount",
                "popularity"
              ]
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "The start price of the hotel & casino to filter on (if relevant).",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "The end price of the hotel & casino to filter on (if relevant)",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/ShowSearch/vegas": {
      "get": {
        "description": "Search and sort shows based on query parameters. Results include a url to get tickets, pricing by day, discounts offers, etc.",
        "operationId": "ShowSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for show names or other related information. Be descriptive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "showType",
            "in": "query",
            "description": "The type of show you are searching for (e.g., 'All Shows', 'Adult', 'Cirque du Soleil', 'Comedy', 'Concerts', 'Dance', 'Family Shows', 'Hypnosis', 'Impersonators', 'Magic', 'Musicals', 'Tribute', 'Variety', etc.)",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "All Shows",
                "Adult",
                "Cirque du Soleil",
                "Comedy",
                "Concerts",
                "Dance",
                "Family Shows",
                "Hypnosis",
                "Impersonators",
                "Magic",
                "Musicals",
                "Tribute",
                "Variety"
              ]
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of show results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results (e.g., 'price_ascending', 'price_descending', 'relevance', 'rating', 'discount','popularity')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "price_ascending",
                "price_descending",
                "relevance",
                "rating",
                "discount",
                "popularity"
              ]
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "The start price of the show to filter on (if relevant).",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "The end price of the show to filter on (if relevant)",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/EventSearch/vegas": {
      "get": {
        "description": "Search and sort events such as sporting events and concerts based on query parameters. Results include info on dates, secondary market pricing by dates, ticket purchase urls, etc.",
        "operationId": "EventSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for event names or other related information. Be descriptive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "tags",
            "in": "query",
            "description": "Search tags to help refine the search.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of show results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results (e.g., 'price_ascending', 'price_descending', 'relevance','popularity')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "price_ascending",
                "price_descending",
                "relevance",
                "popularity"
              ]
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "The start price of the event to filter on (if relevant).",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "The end price of the event to filter on (if relevant)",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "The start date of a date range to filter events by.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "The end date of a date range to filter events by",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/AttractionSearch/vegas": {
      "get": {
        "description": "Search and sort popular attractions based on query parameters. Results include a url to attraction tickets, pricing by day, discount offers, etc.",
        "operationId": "AttractionSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for attraction names or other related information. Be descriptive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "attractionType",
            "in": "query",
            "description": "The type of attraction you are searching for. Say 'All Attractions' if there is no specific type you are searching for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of attraction results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results (e.g., 'price_ascending', 'price_descending', 'relevance', 'rating', 'discount','popularity')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "price_ascending",
                "price_descending",
                "relevance",
                "rating",
                "discount",
                "popularity"
              ]
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "The start price of the attraction to filter on (if relevant).",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "The end price of the attraction to filter on (if relevant)",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/TourSearch/vegas": {
      "get": {
        "description": "Search and sort popular tours based on query parameters. Results include a url to tour tickets, pricing by day, discount offers, etc.",
        "operationId": "TourSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for tour names or other related information. Be descriptive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "tourType",
            "in": "query",
            "description": "The type of tour you are searching for (e.g., 'All Tours', 'Colorado River Tours, 'Grand Canyon Tours', 'Hoover Dam Tours', 'Lake Mead Tours, 'Other Tours', 'Red Rock Tours', 'VEGAS Strip Tours', 'Valley of Fire Tours' etc.)",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "All Tours",
                "Colorado River Tours",
                "Grand Canyon Tours",
                "Hoover Dam Tours",
                "Lake Mead Tours",
                "Other Tours",
                "Red Rock Tours",
                "VEGAS Strip Tours",
                "Valley of Fire Tours"
              ]
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of tour results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results (e.g., 'price_ascending', 'price_descending', 'relevance', 'rating', 'discount', 'popularity')",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "price_ascending",
                "price_descending",
                "relevance",
                "rating",
                "discount",
                "popularity"
              ]
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "The start price of the tour to filter on (if relevant).",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "The end price of the tour to filter on (if relevant)",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/ImageSearch/vegas": {
      "get": {
        "description": "Search for images that match the search query. Results include images urls, descriptions, attribution, etc.",
        "operationId": "ImageSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for images matches.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "numberOfImages",
            "in": "query",
            "description": "The number of image results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/RestaurantSearch": {
      "get": {
        "description": "Search and sort restaurants based on query parameters. Results include information about restaurants including in some cases a reservation url.",
        "operationId": "RestaurantSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for restaurants or other related information. Be descriptive and include the city, borough, neighborhood, area, etc.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "longitude",
            "in": "query",
            "description": "The longitude of the location for which data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "latitude",
            "in": "query",
            "description": "The latitude of the location for which data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of restaurant results to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results ('popularity', 'nearest', 'relevance','price_descending', 'price_ascending', 'rating' etc.).",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "popularity",
                "nearest",
                "relevance",
                "price_descending",
                "price_ascending",
                "rating"
              ]
            }
          }
        ],
        "deprecated": false
      }
    },
    "/PlaceSearch": {
      "get": {
        "description": "Search and sort places based on query parameters. Results include information about places found in the search including descriptions, location information, and categories that help describe the place",
        "operationId": "PlaceSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search query for places or other related information. Be descriptive and include the city, borough, neighborhood, area, etc.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchType",
            "in": "query",
            "description": "The type of search (e.g., 'Exact Match' or 'Any'). Say 'Exact Match' if you are searching for a specific place or thing. For all others say 'Any'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "Exact Match",
                "Any"
              ]
            }
          },
          {
            "name": "longitude",
            "in": "query",
            "description": "The longitude of the location for which data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "latitude",
            "in": "query",
            "description": "The latitude of the location for which data is requested",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "The number of places to return",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The criterion for sorting the search results ('popularity', 'nearest', 'relevance','price_descending', 'price_ascending', 'rating' etc.).",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "popularity",
                "nearest",
                "relevance",
                "price_descending",
                "price_ascending",
                "rating"
              ]
            }
          }
        ],
        "deprecated": false
      }
    },
    "/GetDirections": {
      "get": {
        "description": "Get directions between points for a specified travel type. Results include directions, an image of the route, and a link to Google for more accurate turn-by-turn directions.",
        "operationId": "GetDirections",
        "parameters": [
          {
            "name": "points",
            "in": "query",
            "description": "A string of concatenated longitude and latitude pairs separated by pipes (|). Each pair should be formatted as 'longitude,latitude'.",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?(\\|-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?)$"
            }
          },
          {
            "name": "travelType",
            "in": "query",
            "description": "The mode of travel for which directions are requested.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "driving-traffic",
                "driving",
                "walking",
                "cycling"
              ]
            }
          }
        ],
        "deprecated": false
      }
    },
    "/GetMapWithPoints": {
      "get": {
        "description": "Retrieve a map image with the specified points.",
        "operationId": "GetMapWithPoints",
        "parameters": [
          {
            "name": "points",
            "in": "query",
            "description": "A string of points to plot on the map, separated by '|' and each point is a pair of longitude and latitude followed by a label, separated by ',' (e.g. 'lng1,lat1,label1|lng2,lat2,label2'). The label is should be a number with the first one starting with 1.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/FlightSearch": {
      "get": {
        "description": "Search for flights based on various parameters such as origin, destination, departure date, return date, and class of cabin, among others. The origin and destination have to be IATA codes.",
        "operationId": "FindFlights",
        "parameters": [
          {
            "name": "origin",
            "in": "query",
            "description": "IATA code or name of the origin airport.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "destination",
            "in": "query",
            "description": "IATA code or name of the destination airport.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departureDate",
            "in": "query",
            "description": "The departure date for the flight.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "returnDate",
            "in": "query",
            "description": "The return date for the flight.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "cabinClass",
            "in": "query",
            "description": "The class of the cabin for the flight.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "economy",
                "premium",
                "business",
                "first"
              ],
              "default": "economy"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "description": "The number of adults traveling. Ages 18+.",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 1
            }
          },
          {
            "name": "youths",
            "in": "query",
            "description": "The number of youths traveling. Ages 12 to 17.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "children",
            "in": "query",
            "description": "The number of children traveling. Ages 2 to 11.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "seatInfants",
            "in": "query",
            "description": "The number of seat infants traveling. Ages 0 to 2.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "lapInfants",
            "in": "query",
            "description": "The number of lap infants traveling. Ages 0 to 2.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/CarRentalSearch": {
      "get": {
        "description": "Search for car rentals given specific locations and date/time information.",
        "operationId": "CarRentalSearch",
        "parameters": [
          {
            "name": "pickUpDestination",
            "in": "query",
            "description": "Location where the car rental will be picked up.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dropOffDestination",
            "in": "query",
            "description": "Location where the car rental will be dropped off.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pickUpDateTime",
            "in": "query",
            "description": "Date and time when the car rental will be picked up.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dropOffDateTime",
            "in": "query",
            "description": "Date and time when the car rental will be dropped off.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}