Add atmospheric conditions, such as temperature and wind speed/direction, to your activities on Strava.
- First obtain a Dark Sky API key.
- Next, create a Strava API application (in your account settings) and take note of your client ID and secret.
- Git clone or download this repository.
- Install dependencies:
$ npm install
. - Fill in
config.json
with your Dark Sky API key, Strava client ID and client secret. - Allow API access to your Strava account:
$ npm run handshake
.
To weather stamp your most recent activity:
$ npm run stamp
The command will output the activity title along with the updated description:
Triple Crown w/ Milos
12.92 °C | 5.76 km/h (12.21 km/h gust) ↖