Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 1.09 KB

README.md

File metadata and controls

31 lines (16 loc) · 1.09 KB

nike-running-activities

Just a place to store my nike running activities.

Running The Script

  1. Open Chrome Browser (it should work in Firefox, Safari and Opera as well);

  2. Open DevTools (F12 on Chrome);

  3. On DevTools, go to "Network" tab;

  4. Paste this URL in the Browser Address Bar Nike Running App Login URL;

  5. Back to DevTools search for a request like this: https://unite.nike.com.br/login?

  6. If it is the right one, on inner tab "Preview" you should find an "access_token" like below:

image

The important part for us is the "access_token" value.

  1. For now on, just refer to this as an environment variable "BEARER_TOKEN";

  2. Go to terminal and run the nike_running_fetch_all.sh script as below:

sh nike_running_fetch_all.sh $BEARER_TOKEN