Search Results for

    Class WeatherForecast

    The forecast tools (The Weather Channel)

    Inheritance
    object
    WeatherForecast
    Namespace
    Nettify.Weather @ Nettify.dll
    Syntax
    public static class WeatherForecast


    Methods

    GetWeatherInfo(double, double, string, UnitMeasurement)

    Gets current weather info from The Weather Channel

    Returns
    WeatherForecastInfo

    A class containing properties of weather information

    Declaration
    public static WeatherForecastInfo GetWeatherInfo(double latitude, double longitude, string APIKey, UnitMeasurement Unit = UnitMeasurement.Metric)
    Parameters
    Name Type Description
    latitude double

    City latitude

    longitude double

    City longitude

    APIKey string

    API Key

    Unit UnitMeasurement

    The preferred unit to use

    GetWeatherInfoAsync(double, double, string, UnitMeasurement)

    Gets current weather info from The Weather Channel

    Returns
    Task<WeatherForecastInfo>

    A class containing properties of weather information

    Declaration
    public static Task<WeatherForecastInfo> GetWeatherInfoAsync(double latitude, double longitude, string APIKey, UnitMeasurement Unit = UnitMeasurement.Metric)
    Parameters
    Name Type Description
    latitude double

    City latitude

    longitude double

    City longitude

    APIKey string

    API key

    Unit UnitMeasurement

    The preferred unit to use

    ListAllCities(string, string)

    Lists all the available cities

    Returns
    Dictionary<string, (double, double)>
    Declaration
    public static Dictionary<string, (double, double)> ListAllCities(string city, string APIKey)
    Parameters
    Name Type Description
    city string
    APIKey string

    ListAllCitiesAsync(string, string)

    Lists all the available cities

    Returns
    Task<Dictionary<string, (double, double)>>
    Declaration
    public static Task<Dictionary<string, (double, double)>> ListAllCitiesAsync(string city, string APIKey)
    Parameters
    Name Type Description
    city string
    APIKey string
    Show / Hide Table of Contents

    Table of contents



      About

      © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •