MixerBox Weather

Vand ID: vand-cd94cebc-b079-427a-ab1a-1e0590783064

Learn how to easily use the MixerBox Weather tool with the OpenAI API.

The plugin enables users to access real-time weather information and forecasts. After users type a weather query, it will provide all the essential details within the chat window.

OpenAI function calls:

{
  "name": "getWeatherInfo",
  "description": "With a simple weather query, the plugin delivers weather details, including a description of the weather conditions, temperature, humidity, rain probability, wind speed, and atmospheric pressure.",
  "parameters": {
    "type": "object",
    "properties": {
      "longitude": {
        "type": "string",
        "description": "The longitude of location you want to query for."
      },
      "latitude": {
        "type": "string",
        "description": "The latitude of location you want to query for."
      },
      "dataType": {
        "type": "string",
        "enum": [
          "current",
          "daily",
          "5day_3hour"
        ],
        "description": "Parameter to specify weather data type. \"daily\" support 1-day step for up to 16 days weather data, which is useful for long-term forecast. \"5day_3hour\" support 3-hour step for 5 days weather data, which is useful for short-term forecast"
      },
      "units": {
        "type": "string",
        "enum": [
          "metric",
          "imperial"
        ],
        "description": "The units of measurement. Temperature will be given in Celsius for \"metric\" and in Fahrenheit for \"imperial\". The default value is \"metric\". Choose a proper value according to the measurement convention of the location you query."
      },
      "count": {
        "type": "string",
        "description": "The count of weather item want to return. Only works when data type is \"daily\" or \"5day_3hour\""
      }
    },
    "required": []
  }
}

Auth Type

none

Servers

https://weather.mixerbox.com

OpenAPI:

{
  "openapi": "3.0.1",
  "info": {
    "title": "MixerBox Weather",
    "description": "The plugin enables users to access real-time weather information and forecasts. After users type a weather query, it will provide all the essential details within the chat window.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://weather.mixerbox.com"
    }
  ],
  "paths": {
    "/services?funcs=GetWeatherInfo\u0026mobile=0": {
      "get": {
        "operationId": "getWeatherInfo",
        "summary": "Get current or forecast weather data based on given locations,  including over 200,000 cities around the world.",
        "description": "With a simple weather query, the plugin delivers weather details, including a description of the weather conditions, temperature, humidity, rain probability, wind speed, and atmospheric pressure.",
        "parameters": [
          {
            "in": "query",
            "name": "longitude",
            "schema": {
              "type": "string"
            },
            "description": "The longitude of location you want to query for."
          },
          {
            "in": "query",
            "name": "latitude",
            "schema": {
              "type": "string"
            },
            "description": "The latitude of location you want to query for."
          },
          {
            "in": "query",
            "name": "dataType",
            "schema": {
              "type": "string",
              "enum": [
                "current",
                "daily",
                "5day_3hour"
              ]
            },
            "description": "Parameter to specify weather data type. \"daily\" support 1-day step for up to 16 days weather data, which is useful for long-term forecast. \"5day_3hour\" support 3-hour step for 5 days weather data, which is useful for short-term forecast"
          },
          {
            "in": "query",
            "name": "units",
            "schema": {
              "type": "string",
              "enum": [
                "metric",
                "imperial"
              ]
            },
            "description": "The units of measurement. Temperature will be given in Celsius for \"metric\" and in Fahrenheit for \"imperial\". The default value is \"metric\". Choose a proper value according to the measurement convention of the location you query."
          },
          {
            "in": "query",
            "name": "count",
            "schema": {
              "type": "string"
            },
            "description": "The count of weather item want to return. Only works when data type is \"daily\" or \"5day_3hour\""
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WeatherInfoResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "WeatherInfoResponse": {
        "required": [
          "getWeatherInfo"
        ],
        "type": "object",
        "properties": {
          "getWeatherInfo": {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "title": "Result Of Weather Item List",
                "description": "Result of weather item list.",
                "items": {
                  "$ref": "#/components/schemas/WeatherItem"
                }
              },
              "rules": {
                "type": "array",
                "title": "The array of rules which recommend gpt to follow.",
                "description": "The array of rules which recommend gpt to follow.",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "WeatherItem": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "title": "Data Timestamp"
          },
          "description": {
            "type": "string",
            "title": "Description Text"
          },
          "temperature": {
            "type": "object",
            "title": "Temperature Metrics",
            "properties": {
              "average": {
                "type": "number",
                "title": "Average Temperature"
              },
              "max": {
                "type": "number",
                "title": "Max Temperature"
              },
              "min": {
                "type": "number",
                "title": "Min Temperature"
              },
              "feels_like": {
                "type": "number",
                "title": "Feels Like Temperature"
              }
            }
          },
          "clouds": {
            "type": "number",
            "title": "Cloudiness"
          },
          "wind": {
            "type": "object",
            "title": "Wind Metrics",
            "properties": {
              "speed": {
                "type": "number",
                "title": "Wind Speed"
              },
              "deg": {
                "type": "number",
                "title": "Wind Direction in Degrees"
              },
              "gust": {
                "type": "number",
                "title": "Wind Gust"
              }
            }
          },
          "humidity": {
            "type": "number",
            "title": "Humidity",
            "description": "Humidity in %"
          },
          "pressure": {
            "type": "number",
            "title": "Atmospheric Pressure"
          },
          "pop": {
            "type": "number",
            "title": "Probability of Precipitation"
          }
        }
      }
    }
  }
}