zycon / nrc2strava

Import Nike Run Club activities to Strava (export NRC activities, upload NRC activities to Strava))

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nrc2strava

Most accurate way to migrate from NRC to Strava (includes elevation & heart rate data)

Install

  • Install Node
  • npm install

Usage

  • 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

Notes

  1. Gpx file for activity without GPS data will not be created
  2. You need to specify env variables to fetch and upload
  3. 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)
  4. 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)
  5. Duplicated activities will not be loaded
  6. It is just a fast working solution

About

Import Nike Run Club activities to Strava (export NRC activities, upload NRC activities to Strava))


Languages

Language:JavaScript 100.0%