public static string GetScheduleUri(DaysOfOperation day, Direction direction, int routeId, Season season, int stopId, VehicleType vehicleType) { return(GetRequestUri(string.Format(ScheduleRequestFormat, day.ToDayId(), (byte)direction, routeId, season.ToSeasonId(), stopId, (int)vehicleType))); }
public static string GetValidityTimeUri(DaysOfOperation day, Direction direction, int routeId, Season season, VehicleType vehicleType) { return(GetRequestUri(string.Format(ValidityTimeRequestFormat, day.ToDayId(), (byte)direction, routeId, season.ToSeasonId(), (int)vehicleType))); }
public static string GetDirectionsUri(DaysOfOperation day, int routeId) { return(GetRequestUri(string.Format(DirectionRequestFormat, day.ToDayId(), routeId))); }