Skip to content

Instantly share code, notes, and snippets.

@legzo
Created April 7, 2019 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legzo/0a69db90918b7d84cdc6f82c4fb90ba2 to your computer and use it in GitHub Desktop.
Save legzo/0a69db90918b7d84cdc6f82c4fb90ba2 to your computer and use it in GitHub Desktop.
api velotaff strava
echo $(($(curl "https://www.strava.com/api/v3/activities?per_page=200&after=1546300800&access_token=xxxx" -s | jq '[.[]|select(.commute == true)|.distance] | add') /1000)) | xargs printf '\n<2705> %5.0f km de velotaff\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment