Getting info from Intervals.icu

You can find your user id and api key in the Settings page:

  1. Scroll down to Developer Settings.
  2. Grab your AthleteID.
  3. Click underAPI key to generate and copy your API key.

Using this Script

Set up your .env file.

In the root folder for the project:

  1. Create a file called .env
  2. Paste these lines: INTERVALS_API_KEY=[Paste Your API Key] INTERVALS_ATHLETE_ID=[Paste your Athlete ID]