Sync your Strava reviews to a Notion database!
Inspired by @IVIURRAY and @kevinschaich.
Client ID
and Client Secret
into your .env
TOKEN_V3
in your .env
Share
button)notion_api_new.py
file.Copy the link to your database page that will look like: https://www.notion.so/<long_hash_1>?v=<long_hash_2>
then choose <long_hash_1>
, this is the database ID.
gh repo clone michaelfromyeg/strava2notion
cd strava2notion
python3.12 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
make run
google-chrome
via WSLg.ALL_DATA
in config.py
to False
to upload only new activities..bat
file) or on a related service (e.g., as a cronjob
)The notion_api_test.py
file is left in for you to test adding different data to the database. See Strava API for what other data is taken from the API request.
The HTTP Requests are abstracted away by two helpful libraries: stravio and notion-sdk-py.
Their documentation coupled with the official API documentation is useful for debugging and customization.