C# Class DarkSkySharp.DarkSky

Afficher le fichier Open project: greymouser/DarkSkySharp Class Usage Examples

Méthodes publiques

Méthode Description
Forecast ( Geolocation location ) : ForecastObject

Call the DarkSky forecast API. lat/lon of location to forecast ForecastObject that represents the v1 forecast return result.

Precipitation ( int>.List locationsAndTimes ) : PrecipitationObject

Call the DarkSky precipitation API. List of key-value pairs of locations and times. PrecipitationObject that represents the v1 precipitation return result.

Private Methods

Méthode Description
DoGetRequest ( string url ) : string

Method Details

Forecast() public méthode

Call the DarkSky forecast API. lat/lon of location to forecast ForecastObject that represents the v1 forecast return result.
public Forecast ( Geolocation location ) : ForecastObject
location Geolocation
Résultat ForecastObject

Precipitation() public méthode

Call the DarkSky precipitation API. List of key-value pairs of locations and times. PrecipitationObject that represents the v1 precipitation return result.
public Precipitation ( int>.List locationsAndTimes ) : PrecipitationObject
locationsAndTimes int>.List
Résultat PrecipitationObject