GWeather.Location.get_code

### Method

# GWeather Locationget_code

#### Declaration [src]

    const char*
    gweather_location_get_code (
      GWeatherLocation* loc
    )

#### Description [src]

Gets the METAR station code associated with a `GWEATHER_LOCATION_WEATHER_STATION` location.

#### Return value

Returns: | `const char*`
| The location’s METAR station code.
| The data is owned by the instance.
| The return value can be `NULL`.
| The value is a NUL terminated UTF-8 string.