Just a place to store my nike running activities.
-
Open Chrome Browser (it should work in Firefox, Safari and Opera as well);
-
Open DevTools (F12 on Chrome);
-
On DevTools, go to "Network" tab;
-
Paste this URL in the Browser Address Bar Nike Running App Login URL;
-
Back to DevTools search for a request like this: https://unite.nike.com.br/login?
-
If it is the right one, on inner tab "Preview" you should find an "access_token" like below:
The important part for us is the "access_token" value.
-
For now on, just refer to this as an environment variable "BEARER_TOKEN";
-
Go to terminal and run the nike_running_fetch_all.sh script as below:
sh nike_running_fetch_all.sh $BEARER_TOKEN