openambitproject / openambit

openambit
281 stars 82 forks source link

No instructions for updating tools/stravauploader/config.py #282

Open jazamatronic opened 3 years ago

jazamatronic commented 3 years ago

G'day All,

I couldn't find instructions on how to update the tokens needed in config.py for strava_upload.sh to work correctly.

Previously I had registered an app for doing these kind of uploads, so I went to https://www.strava.com/settings/api and clicked on the "My API Application". From there I could get the needed client code, client secret and the read access token.
Updating those in config.py allowed the generation of a new access token which I could update in config.py. So now it's working.

However, I'm not sure this is the right way to do it, and having people generate their own application might be complicated. So what is the correct procedure for finding one's client code, client secret and access token for filling in config.py for people who don't have an application registered?

Once we know this, it would be useful to add it to the README.rst or as some comments in config.py or something similar.

Cheers