C# Class CorvallisBusCoreNetCore.WebClients.ConnexionzClient

Exposes methods for getting transit data from Connexionz.
Afficher le fichier Open project: RikkiGibson/Corvallis-Bus-Server Class Usage Examples

Méthodes publiques

Свойство Type Description
Platforms AsyncLazy>
Routes AsyncLazy>

Méthodes publiques

Méthode Description
GetPlatformEtaAsync ( int platformTag ) : Task

Gets the Connexionz-estimated time of arrival for a given stop.

Private Methods

Méthode Description
GetPlatformsAsync ( ) : Task>

Downloads static Connexionz Platforms (Stops) info.

GetRoutesAsync ( ) : Task>

Downloads static Connexionz Route (e.g. Route 1, Route 8, etc) info.

Method Details

GetPlatformEtaAsync() public static méthode

Gets the Connexionz-estimated time of arrival for a given stop.
public static GetPlatformEtaAsync ( int platformTag ) : Task
platformTag int
Résultat Task

Property Details

Platforms public_oe static_oe property

Lazy-loaded platform data.
public static AsyncLazy> Platforms
Résultat AsyncLazy>

Routes public_oe static_oe property

lazy-loaded Route data.
public static AsyncLazy> Routes
Résultat AsyncLazy>