Ejemplo n.º 1
0
        IEnumerable <LatLngPoint> GetLatLngPoints(int id)
        {
            string json     = "{\"id\": \"" + id + "\"}";
            var    response = MyRunsDBCalls.MyRunsApiCallPost(json, getLatLngCoordinatesEndpoint);

            return(JsonConvert.DeserializeObject <IEnumerable <LatLngPoint> >(response));
        }
Ejemplo n.º 2
0
        ExerciseEntry GetExerciseEntry(int id)
        {
            string json     = "{\"id\": \"" + id + "\"}";
            var    response = MyRunsDBCalls.MyRunsApiCallPost(json, getExerciseEntryEndpoint);

            return(JsonConvert.DeserializeObject <ExerciseEntry>(response));
        }
Ejemplo n.º 3
0
        IEnumerable <ExerciseEntry> GetExerciseEntries()
        {
            var response = MyRunsDBCalls.MyRunsApiCallGet(getExerciseEntriesEndpoint);

            return(JsonConvert.DeserializeObject <IEnumerable <ExerciseEntry> >(response));
        }