> 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/weatherlocation.md).

# WeatherLocation

Represents the location of the [Weather ](/randomstuff/data-classes/weather.md)object.

|                                      **Attributes**                                     |
| :-------------------------------------------------------------------------------------: |
|               [`name`](/randomstuff/data-classes/weatherlocation.md#name)               |
|                [`lat`](/randomstuff/data-classes/weatherlocation.md#lat)                |
|               [`long`](/randomstuff/data-classes/weatherlocation.md#long)               |
|           [`timezone`](/randomstuff/data-classes/weatherlocation.md#timezone)           |
|             [`alert`](/randomstuff/data-classes/weatherlocation.md#timezone)            |
|         [`degreetype`](/randomstuff/data-classes/weatherlocation.md#degreetype)         |
|   [`imagerelativeurl`](/randomstuff/data-classes/weatherlocation.md#imagerelativeurl)   |
|           [`latitude`](/randomstuff/data-classes/weatherlocation.md#latitude)           |
|          [`longitude`](/randomstuff/data-classes/weatherlocation.md#longitude)          |
|        [`degree_type`](/randomstuff/data-classes/weatherlocation.md#degree_type)        |
| [`image_relative_url`](/randomstuff/data-classes/weatherlocation.md#image_relative_url) |

## Attributes

### `name`

The name of location.

**Type:** `str`

### `lat`

The latitude of location.

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

**Type:** `str`

### `long`

The longitude of the location.

**Type:** `str`

### `timezone`

The timezone of the location.

**Type:** `str`

### `alert`

The alert of the location.

**Type:** `str`

### `degreetype`

The degree type of the location.

**Type:** `str`

### `imagerelativeurl`

The image URL of the location.

**Type:** `str`

### `latitude`

An alias for [`lat`](/randomstuff/data-classes/weatherlocation.md#lat) attribute.

**Type:** `str`

### `longitude`

An alias of [`long`](/randomstuff/data-classes/weatherlocation.md#long) attribute.

**Type:** `str`

### `degree_type`

An alias of [`degreetype` ](/randomstuff/data-classes/weatherlocation.md#degreetype)attribute.

**Type:** `str`

### `image_relative_url`

An alias of [`imagerelativeurl` ](/randomstuff/data-classes/weatherlocation.md#imagerelativeurl)attribute.

**Type:** `str`
