Click or drag to resize

WeatherMakerOpenWeatherMapApiQueryWeather Method

Query for external weather from OpenWeatherMap

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void QueryWeather(
	float lat,
	float lon,
	string locationName,
	string apiKey,
	Action<WeatherMakerProfileScript> callback
)

Parameters

lat
Type: SystemSingle
Latitude in degrees
lon
Type: SystemSingle
Longitude in degrees
locationName
Type: SystemString
Location name
apiKey
Type: SystemString
API key
callback
Type: SystemActionWeatherMakerProfileScript
Callback with results

Implements

IWeatherMakerLocationWeatherApiQueryWeather(Single, Single, String, String, ActionWeatherMakerProfileScript)
See Also