Skip to content

Details

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

Previously we explored Strava REST APIs (meetup 220) and writing Django web applications (meetup 206 and 224). In this live coding session, we’ll continue from 224 to create a web application where users can fetch their own data from Strava and authorise the application to collect their data even when they are not logged in.

Future sessions will expand on this project to map or chart Strava data.

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:
- Use the allauth library to use Strava API
- Add functionality to a 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. (see below for youtube link)

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.

Meetup 220 Youtube link https://youtu.be/UAPDR00e-2s
Meetup 226 Youtube link https://youtu.be/HqgY7XzB1-8

Cycling
Mapping
Python
Running
API

Members are also interested in