stravaflagbot

command module
v0.0.0-...-20f771a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 8 Imported by: 0

README

stravaflagbot

checks a strava activity and flags it if it is not flagged

usage

go run main.go -h
Usage: main --sessionid SESSIONID --activityid ACTIVITYID --flagcomment FLAGCOMMENT

Options:
  --sessionid SESSIONID [env: STRAVA_SESSION]
  --activityid ACTIVITYID
  --flagcomment FLAGCOMMENT
  --help, -h             display this help and exit

To get your session ID, log in to Strava in Chrome. Open Developer Tools, go to Application -> Cookies and look for the _strava4_session cookie. Copy the value and assign it to a STRAVA_SESSION environment variable:

export STRAVA_SESSION=...

Clone this repo and run the program (assumes you have Go installed):

go run main.go --activityid <activity id> --flagcomment "This KOM is not legitimate"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL