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
)
Public Sub QueryWeather (
lat As Single,
lon As Single,
locationName As String,
apiKey As String,
callback As Action(Of WeatherMakerProfileScript)
)
public:
virtual void QueryWeather(
float lat,
float lon,
String^ locationName,
String^ apiKey,
Action<WeatherMakerProfileScript^>^ callback
) sealed
abstract QueryWeather :
lat : float32 *
lon : float32 *
locationName : string *
apiKey : string *
callback : Action<WeatherMakerProfileScript> -> unit
override QueryWeather :
lat : float32 *
lon : float32 *
locationName : string *
apiKey : string *
callback : Action<WeatherMakerProfileScript> -> unit
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