richardgiddings / stravasearch

Get Strava activities for an athlete. A description of what I did can be seen at https://blog.richardgiddings.co.uk/using-strava-api/

Home Page:https://strava-search.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Get activities from Strava for an athlete. Uses social-auth-app-django to authenticate a user then stravalib to retrieve the activities for that user. Activities are displayed on the page with pagination.

The first time you visit the site there are no activities shown. If you just specifiy a From date then activities after that date are retrieved. If you just specify a To date then activities up until that date are retrieved. If you specify both you get activities in that range of dates. If you specify neither then nothing is retrieved.

Alt text

The following config variables are required when deploying to production:

  • ADMIN_EMAIL
  • ADMIN_NAME
  • DEFAULT_FROM_EMAIL
  • DJANGO_SETTINGS_MODULE set as stravasearch.settings.production
  • EMAIL_HOST
  • EMAIL_HOST_PASSWORD
  • EMAIL_HOST_USER
  • EMAIL_PORT
  • SECRET_KEY

Then the following two variables that are given to you when you create an application on strava.com

  • STRAVA_SECRET
  • STRAVA_KEY

About

Get Strava activities for an athlete. A description of what I did can be seen at https://blog.richardgiddings.co.uk/using-strava-api/

https://strava-search.herokuapp.com/


Languages

Language:Python 69.1%Language:HTML 30.9%