After we have installed pyheadspace, this is important step to set it up:
-
Go to https://my.headspace.com/ and login to your account.
-
Press
Ctrl + Shift + IorCommand + Shift + Cto open dev tools -
Go to the networks tab and reload the website
-
Now look for GET request to https://api.prod.headspace.com
-
In request header copy the value of authorization parameter including the
Bearerprefix. Make sure you copy it from request headers not response headers. It would look like this:bearer eyJhbGciOi... -
Run
headspace fileto get the location of the file. Paste the bearer token from the above step in this file.
NOTE:
authorization token could invalidate in the future. So if you get an authentication(Unauthorized) error, please repeat the above steps.