Weather.NET

Weather.NET's official website, where you can find the documentation for this library.


Project maintained by EloyEspinosa Hosted on GitHub Pages — Theme by mattgraham

GeoCoding

This class provides access to OpenWeatherMap’s GeoCoding API (1.0), which lets users transform any location name into geographical coordinates, and the other way around (reverse geocoding).

Methods

WeatherClient.CoordinatesByLocationName(cityName, stateCode, countryCode, limit) Gets a list of GeoCodingModel objects with the geographical coordinates of locations with the given name.

WeatherClient.CoordinatesByZipCode(zipCode, countryCode) Gets a GeoCodingModel object with the geographical coordinates of the location with the given zip code.

WeatherClient.LocationNameByCoordinates(latitude, longitude, limit) Gets a list of GeoCodingModel objects with the location names on a given place in the world.

WeatherClient.CoordinatesByLocationNameAsync(cityName, stateCode, countryCode, limit) Gets a list of GeoCodingModel objects with the geographical coordinates of locations with the given name asynchronously.

WeatherClient.CoordinatesByZipCodeAsync(zipCode, countryCode) Gets a GeoCodingModel object with the geographical coordinates of the location with the given zip code asynchronously.

WeatherClient.LocationNameByCoordinatesAsync(latitude, longitude, limit) Gets a list of GeoCodingModel objects with the location names on a given place in the world asynchronously.

Back