Most accurate way to migrate from NRC to Strava (includes elevation & heart rate data)
- Install Node
- npm install
- Specify env variables
- npm start nike - fetch all Nike Run Club activities that have GPS data and create gpx files
- npm start strava - upload all gpx files to Strava
- Gpx file for activity without GPS data will not be created
- You need to specify env variables to fetch and upload
- You can get NIKE bearer token by login to your account - website, and look for any api.nike.com request (DevTools => Network => Select request => Look for Authorization header in "Request Headers" section)
- You need activity:write scope STRAVA token. You can get it by login to website, change the activity:read_all to activity:write scope in url on strava authorization page and proceed login. On the page, to which you were redirected after login, look for token cookie (DevTools => Application => Cookies => Select resource)
- Duplicated activities will not be loaded
- It is just a fast working solution