C# Класс DarkSkySharp.DarkSky

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
DoGetRequest ( string url ) : string

Описание методов

Forecast() публичный Метод

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
Результат ForecastObject

Precipitation() публичный Метод

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
Результат PrecipitationObject