lib/Fabulator/Endomondo/EndomondoApi.php
public function getWorkoutsFromTo(\DateTime $from, \DateTime $to)
    {
        return $this->getWorkouts([
            'after' => $from->format('c'),
            'before' => $to->format('c'),
        ]);
    }
public function getWorkoutsFromTo(\DateTime $from, \DateTime $to)
    {
        return $this->getWorkouts([
            'after' => $from->format('c'),
            'before' => $to->format('c'),
        ]);
    }
public function getWorkoutsFromTo ( \ DateTime $ from , \ DateTime $ to ) { return $ this -> getWorkouts ( [ 'after' => $ from -> format ( 'c' ) , 'before' => $ to -> format ( 'c' ) , ] ) ; }
Get all workouts between two dates.

@param \DateTime $from
@param \DateTime $to
@return array $options {
@var int $total Total found workout
@var string $next Url for next workouts
@var Workout[] $workout List of workouts
}
Get all workouts between two dates .