Zeus, the Weather God

Zeus, the Weather God · GPT Actions

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
Original 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