> For the complete documentation index, see [llms.txt](https://nerdguyahmad.gitbook.io/randomstuff/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nerdguyahmad.gitbook.io/randomstuff/data-classes/weather.md).

# Weather

Represents the weather returned by [`get_weather()`](/randomstuff/clients/client.md#get_weather) method.

|                        **Attributes**                       |
| :---------------------------------------------------------: |
| [`location`](/randomstuff/data-classes/weather.md#location) |
|  [`current`](/randomstuff/data-classes/weather.md#current)  |
| [`forecast`](/randomstuff/data-classes/weather.md#forecast) |

## Attributes

### `location`

The location of the weather.

**Type:** [`WeatherLocation`](/randomstuff/data-classes/weatherlocation.md)

### `current`

The current weather.

{% hint style="info" %}
There's a chance that this is `None`
{% endhint %}

**Type:** Optional\[[`CurrentWeather`](/randomstuff/data-classes/currentweather.md)]

### `forecast`

The list of weather forecast of different days.

**Type:** List\[[`WeatherForecast`](/randomstuff/data-classes/weatherforecast.md)]
