Getting info from Intervals.icu
You can find your user id and api key in the Settings page:
- Scroll down to Developer Settings.
- Grab your AthleteID.
- Click under
API keyto generate and copy your API key.
Using this Script
Set up your .env file.
In the root folder for the project:
- Create a file called
.env - Paste these lines:
INTERVALS_API_KEY=[Paste Your API Key] INTERVALS_ATHLETE_ID=[Paste your Athlete ID]