A PHP script that fetches the length and duration of your workouts on Endomondo. This is what it does:
- Generates a widget (iframe) with a given time span, Endomondo user ID, and sport;
- Grabs the length and duration for the provided time span;
- Saves those numbers into separate text files.