-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get nrc token there maybe a better way. #1
Comments
I am having slight difficulty figuring out how this might be useful. The whole extraction process happens within a couple of seconds (or couple of mins at max) so refreshing the token is not strictly required. Can you list a scenario where this might be useful? It would be nice if you can talk about the GitHub action workflow in a bit more detail as well. I am definitely interested in learning more about this. |
@yasoob |
@yasoob |
@yasoob |
Hi~,
![image](https://user-images.githubusercontent.com/15976103/86531452-eebe4a00-bef3-11ea-90b2-ea4e4e31f872.png)
I am also fond of running and programing. And I search github for nrc
json to gpx
find your repo, that is very cool and useful.And I recently research some nrc payload and to automate my running, I think there seems another way for your nrc get token way because the token will expire sometime which is a little different for github action.
I found nrc has a url can use
refresh_token
to exchange the token, which you can login--> logout --> login find in this url belowUsing refresh_token you can use payload like this code to get the token, and the refresh_token will not expire
Using this way you can write a github action or something using nrc to run and using your script to upload the gpx to strava or runtastic or runkeeper to synchronize your running data.
Thank you for your repo again.
The text was updated successfully, but these errors were encountered: