C# Class NextbusNET.NextbusClient

Inheritance: INextbusClient
Exibir arquivo Open project: bogeaperez/NextbusNET

Public Methods

Method Description
GetAgencies ( ) : IEnumerable
GetPredictions ( string agencyTag, int stopId, string routeTag = null ) : IEnumerable
GetPredictions ( string agencyTag, string stopTag, string routeTag ) : IEnumerable
GetPredictionsForMultiStops ( string agencyTag ) : IEnumerable
GetRouteConfig ( string agencyTag, string routeTag ) : RouteConfig
GetRoutes ( string agencyTag ) : IEnumerable
GetSchedule ( string agencyTag, string routeTag ) : IEnumerable
GetVehicles ( string agency, string route, int epoch ) : VehicleList

Private Methods

Method Description
ExecuteRequest ( Request request ) : string

Method Details

GetAgencies() public method

public GetAgencies ( ) : IEnumerable
return IEnumerable

GetPredictions() public method

public GetPredictions ( string agencyTag, int stopId, string routeTag = null ) : IEnumerable
agencyTag string
stopId int
routeTag string
return IEnumerable

GetPredictions() public method

public GetPredictions ( string agencyTag, string stopTag, string routeTag ) : IEnumerable
agencyTag string
stopTag string
routeTag string
return IEnumerable

GetPredictionsForMultiStops() public method

public GetPredictionsForMultiStops ( string agencyTag ) : IEnumerable
agencyTag string
return IEnumerable

GetRouteConfig() public method

public GetRouteConfig ( string agencyTag, string routeTag ) : RouteConfig
agencyTag string
routeTag string
return NextbusNET.Model.RouteConfig

GetRoutes() public method

public GetRoutes ( string agencyTag ) : IEnumerable
agencyTag string
return IEnumerable

GetSchedule() public method

public GetSchedule ( string agencyTag, string routeTag ) : IEnumerable
agencyTag string
routeTag string
return IEnumerable

GetVehicles() public method

public GetVehicles ( string agency, string route, int epoch ) : VehicleList
agency string
route string
epoch int
return NextbusNET.Model.VehicleList