strava2notional
is a forked implementation of strava2notion
. This implementation uses the notional
API wrapper, rather than the unofficial notion
API.
- Create an App though the Strava API
- Create a page in Notion that will act as a parent page for the Strava activity database.
- Open the page in a webbrowser and note the parent page ID (character string following notion.so/[parent-page-name]-)
- Create a new integration through My Integrations , grant it access to your Notion and note Internal Integration Token
git clone https://github.com/edenheijer/strava2notional.git
virtualenv venv
source venv/bin/activate
(Mac) orvenv/Scripts/activate
(Window)pip install -r requirements.txt
- Insert
Client ID
andClient Secret
intostrava_api.py
. - Insert internal integration token from the newly created Integration info
config.py
. - Enter the page ID in
config.py
from step 5 of the Setup python strava_api.py
(Requires 3.5+ and 64-bit python install)- If you've set it up correctly a Strava App auth page will appear
- Click Authorize
- The script will create a database if there isn't one already and add new entries into it
- You will be able to see it adding data in real time (Press
Ctrl + r
if you see nothing happening)
👤 Ewout den Heijer
- Website: wgdenheijer.nl
- Github: @edenheijer
- LinkedIn: @Ewout den Heijer