Travel Agent Peru ✈️⛰️

Travel Agent Peru ✈️⛰️ · GPT-Aktionen

openWeather API

openWeather API is a simple tool that we have developed to ease the search for weather details from specific locations or coordinates

  • GET /data/2.5/weatherSearch for a location's weather data for any location on earth
  • GET /data/2.5/forecastSearch for a 5 day forecast of the weather data for any location on earth
  • GET /data/2.5/air_pollutionCurrent Air Pollution API provides current air pollution data for any coordinates on the globe
  • GET /data/2.5/air_pollution/forecastForecast Air Pollution API provides current air pollution data for any coordinates on the globe
  • GET /data/2.5/air_pollution/historyHistory Air Pollution API provides current air pollution data for any coordinates on the globe
  • GET /geo/1.0/directShow information and coordinates from a city name
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "openWeather API",
    "version": "1.0.0",
    "description": "openWeather API is a simple tool that we have developed to ease the search for weather details from specific locations or coordinates"
  },
  "servers": [
    {
      "url": "https://api.openweathermap.org",
      "description": "API server for looking for weather details from specific locations or coordinates"
    }
  ],
  "paths": {
    "/data/2.5/weather": {
      "get": {
        "summary": "Search for a location's weather data for any location on earth",
        "operationId": "searchWeatherData",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "Latitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "Longitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/data/2.5/forecast": {
      "get": {
        "summary": "Search for a 5 day forecast of the weather data for any location on earth",
        "operationId": "search5dayWeatherData",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "Latitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "Longitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/data/2.5/air_pollution": {
      "get": {
        "summary": "Current Air Pollution API provides current air pollution data for any coordinates on the globe",
        "operationId": "searchCurrentAirPollution",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "Latitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "Longitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/data/2.5/air_pollution/forecast": {
      "get": {
        "summary": "Forecast Air Pollution API provides current air pollution data for any coordinates on the globe",
        "operationId": "searchForecastAirPollution",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "Latitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "Longitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/data/2.5/air_pollution/history": {
      "get": {
        "summary": "History Air Pollution API provides current air pollution data for any coordinates on the globe",
        "operationId": "searchHistoryAirPollution",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "Latitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "Longitude",
            "schema": {
              "type": "number",
              "format": "float"
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "description": "Start date (unix time, UTC time zone)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "description": "End date (unix time, UTC time zone)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/geo/1.0/direct": {
      "get": {
        "summary": "Show information and coordinates from a city name",
        "operationId": "searchGeolocation",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "City name, state code (only for the US) and country code divided by comma",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "required": true,
            "description": "799e7be869dbaef67e0e4ac4b91608b8",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Number of the locations in the API response",
            "schema": {
              "type": "integer"
            }
          }
        ]
      }
    }
  }
}

Currency API

Retrieve currency exchange information using the Currency API.

  • GET /currenciesThe endpoint returns a list of all supported currencies that are available through all other endpoints.
  • GET /latestReturns the latest exchange rates.
  • GET /convertReturns calculated values for today or any given date for all currencies.
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Currency API",
    "version": "3.0.0",
    "description": "Retrieve currency exchange information using the Currency API."
  },
  "servers": [
    {
      "url": "https://api.currencyapi.com/v3/",
      "description": "API server for currency exchange information retrieving."
    }
  ],
  "paths": {
    "/currencies": {
      "get": {
        "summary": "The endpoint returns a list of all supported currencies that are available through all other endpoints.",
        "operationId": "getSupportedCurrencies",
        "tags": [
          "Get Supported Currencies"
        ]
      }
    },
    "/latest": {
      "get": {
        "summary": "Returns the latest exchange rates.",
        "operationId": "latestExchangeRates",
        "tags": [
          "Get Latest Exchange Rates"
        ],
        "parameters": [
          {
            "name": "base_currency",
            "in": "query",
            "description": "The base currency to which all results are behaving relative to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currencies",
            "in": "query",
            "description": "A list of comma-separated currency codes which you want to get (EUR,USD,CAD, etc.)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/convert": {
      "get": {
        "summary": "Returns calculated values for today or any given date for all currencies.",
        "operationId": "convertExchangeValues",
        "tags": [
          "Convert Exchange Values"
        ],
        "parameters": [
          {
            "name": "value",
            "in": "query",
            "description": "The value you want to convert",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "base_currency",
            "in": "query",
            "description": "The base currency to which all results are behaving relative to.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currencies",
            "in": "query",
            "description": "A list of comma-separated currency codes which you want to get",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apikey": {
        "type": "apikey",
        "in": "header",
        "name": "apikey"
      }
    },
    "schemas": {}
  }
}

Tripadvisor Location Information API

API for retrieving various types of information about locations using Tripadvisor.

  • GET /tripadvisor/location/searchRetrieve location information for a city
  • GET /tripadvisor/{location_id}/reviewsRetrieve reviews for a specific location
  • GET /tripadvisor/{location_id}/detailsRetrieve details for a specific location
  • GET /tripadvisor/{location_id}/photosRetrieve photos for a specific location
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Tripadvisor Location Information API",
    "version": "1.0.0",
    "description": "API for retrieving various types of information about locations using Tripadvisor."
  },
  "servers": [
    {
      "url": "https://api.sharpagents.ai",
      "description": "Proxy server for Tripadvisor API"
    }
  ],
  "paths": {
    "/tripadvisor/location/search": {
      "get": {
        "summary": "Retrieve location information for a city",
        "operationId": "getLocationInfo",
        "tags": [
          "Location Information"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Language of the API response"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "City or location to search for"
          },
          {
            "name": "category",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Category of location to filter the search, e.g., 'hotels'"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with location information"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/tripadvisor/{location_id}/reviews": {
      "get": {
        "summary": "Retrieve reviews for a specific location",
        "operationId": "getReviews",
        "tags": [
          "Reviews"
        ],
        "parameters": [
          {
            "name": "location_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Unique identifier for the location"
          },
          {
            "name": "language",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Language of the reviews"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with reviews"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/tripadvisor/{location_id}/details": {
      "get": {
        "summary": "Retrieve details for a specific location",
        "operationId": "getLocationDetails",
        "tags": [
          "Details"
        ],
        "parameters": [
          {
            "name": "location_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Unique identifier for the location"
          },
          {
            "name": "language",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Language of the details"
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Currency code for price information"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with details"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/tripadvisor/{location_id}/photos": {
      "get": {
        "summary": "Retrieve photos for a specific location",
        "operationId": "getLocationPhotos",
        "tags": [
          "Photos"
        ],
        "parameters": [
          {
            "name": "location_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Unique identifier for the location"
          },
          {
            "name": "language",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Language of the photo captions"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with photos"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey",
        "description": "Private API key for Tripadvisor API"
      }
    },
    "schemas": {}
  }
}

Apidojo Flight Radar API

API for accessing flight information including search, most tracked flights, flight details, and more.

  • GET /flights/searchSearch for flights
  • GET /flights/list-most-trackedList most tracked flights
  • GET /flights/detailGet details of a specific flight
  • GET /flights/get-more-infoGet more information about a flight
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Apidojo Flight Radar API",
    "version": "1.0.0",
    "description": "API for accessing flight information including search, most tracked flights, flight details, and more."
  },
  "servers": [
    {
      "url": "https://flight-radar1.p.rapidapi.com",
      "description": "Server for Apidojo Flight Radar API"
    }
  ],
  "paths": {
    "/flights/search": {
      "get": {
        "summary": "Search for flights",
        "operationId": "searchFlights",
        "tags": [
          "Flight Search"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Flight number to search for"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Limit the number of results"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with flight search results"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/flights/list-most-tracked": {
      "get": {
        "summary": "List most tracked flights",
        "operationId": "listMostTrackedFlights",
        "tags": [
          "Most Tracked Flights"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response with most tracked flights"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/flights/detail": {
      "get": {
        "summary": "Get details of a specific flight",
        "operationId": "getFlightDetail",
        "tags": [
          "Flight Details"
        ],
        "parameters": [
          {
            "name": "flight",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Flight ID to get details for"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with flight details"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    },
    "/flights/get-more-info": {
      "get": {
        "summary": "Get more information about a flight",
        "operationId": "getMoreFlightInfo",
        "tags": [
          "More Flight Info"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Flight number or registration for more information"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with additional flight information"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-RapidAPI-Key",
        "description": "Private API key for Apidojo Flight Radar API"
      }
    },
    "schemas": {}
  }
}