get_world


Description:

public static Location? get_world ()

Obtains the shared `GWeatherLocation` of type `GWEATHER_LOCATION_WORLD`, representing a hierarchy containing all of the locations from the location data.

Returns:

a `GWEATHER_LOCATION_WORLD` location, or `NULL` if the locations data could not be found or could not be parsed.