Skip to content

Details

https://github.com/timcu/bpaml-sessions/blob/master/online/meetup224_tim_django_strava_auth.md

Previously we explored Strava REST APIs and authentication (meetup 220) and writing Django web applications (meetup 206). In this live coding session, we’ll combine the two to create from scratch a web application where users authenticate using their Strava accounts. Future sessions will expand on this project to collect Strava activity data and map or chart it. If you are a cyclist, runner, or pythonista this project could provide a basis for automating a friendly challenge amongst your Strava friends.

You’ll Learn How To:

  • Create a new app in Django
  • Use the allauth library to use Strava authentication
  • Use templates and add styling to Django app

You will need Python (https://python.org) and an IDE such as PyCharm (https://www.jetbrains.com/pycharm/) to follow along on either Mac Windows or Linux.

I recommend you have your Strava API key in a file "strava-key.json" prior to the start of this meetup. Following the meetup 220 Google Colab notebook will assist you create this file and test it. https://colab.research.google.com/drive/1MGTukijZ45KeYparjYhj_sabB-xaQvWL

Instructor:
D Tim Cummings

There is a slackspace for sharing data and chatting during the streaming event at beginnerspython.slack.com - please email skypyprojectatgmaildotcom for an invitation to join the space.

Youtube link https://youtu.be/_ieZpyktbho

Cycling
Mapping
Python
Running
API

Members are also interested in