C# Class DarkSky.Api

Show file Open project: joelmartinez/darksky-csharp

Public Methods

Method Description
Api ( string key ) : System
CreateNotification ( Position pos, string callback, int threshold = null ) : Task
GetBriefForecastAsync ( Position position ) : Task
GetForecastAsync ( Position position ) : Task
GetInterestingStormsAsync ( ) : Task
GetNotification ( string id ) : Task
GetPrecipitationAsync ( ) : Task

Method Details

Api() public method

public Api ( string key ) : System
key string
return System

CreateNotification() public method

public CreateNotification ( Position pos, string callback, int threshold = null ) : Task
pos Position
callback string
threshold int
return Task

GetBriefForecastAsync() public method

public GetBriefForecastAsync ( Position position ) : Task
position Position
return Task

GetForecastAsync() public method

public GetForecastAsync ( Position position ) : Task
position Position
return Task

GetInterestingStormsAsync() public method

public GetInterestingStormsAsync ( ) : Task
return Task

GetNotification() public method

public GetNotification ( string id ) : Task
id string
return Task

GetPrecipitationAsync() public method

public GetPrecipitationAsync ( ) : Task
return Task