Exemplo n.º 1
0
        List <BusEstimatedTime> GetEstimatedArrives(int id)
        {
            string url      = "http://87.98.237.99:88/delays?stopId=" + id;
            var    response = ApiRequests.GET(url);

            return(BusEstimatedTimeParser.FromJson(response).allArrives);
        }
Exemplo n.º 2
0
 public static string ToJson(this BusEstimatedTimeParser self) => JsonConvert.SerializeObject(self);