Project for working wth the Boulder County Open Space and Mountain Parks data.
- To run, first install
python 3.6
or above. I prefer the miniconda installation but any Python installation will do. if you are a pypi user.
You will need an environment with two Python packages to run this code:
- stravalib
pip install stravalib
- pandas (if it is not already in your distribution)
pip install pandas
Make sure the environment is active before proceeding. If you aren't using conda,
you can use the requirements.txt
file to install both packages:
pip install -r dev-requirements.txt
- To run the script, open bash and run:
$ python authenticate.py
NOTE: if you run into any issues with missing packages please let me know. Myconda
install may have some things a classic python install doesn't. - Follow the instructions. The output should be a
.csv
file with all of your strava activities as a proof of concept.
IMPORTANT you will need the secrets-chaya.txt
file in order for this to works
more later on how we will share secrets on this project!
If you want, you can create a file from an api app you already have. SImply
- create a text file called
secrets-chaya.txt
- Then in that file add two values:
client_id,client_secret
This should work!