GithubHelp home page GithubHelp logo

dkhawk / boulder-osmp-trails Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 2.52 MB

Project for working the Boulder County Open Space and Mountain Parks

License: Apache License 2.0

Kotlin 82.78% Python 17.22%

boulder-osmp-trails's Introduction

boulder-osmp-trails

Project for working wth the Boulder County Open Space and Mountain Parks data.

Python Strava API Access

  1. 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.

Environment Setup

You will need an environment with two Python packages to run this code:

  1. stravalib pip install stravalib
  2. 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

  1. 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. My conda install may have some things a classic python install doesn't.
  2. 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

  1. create a text file called secrets-chaya.txt
  2. Then in that file add two values: client_id,client_secret

This should work!

boulder-osmp-trails's People

Contributors

dkhawk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lwasser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.