diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2018-10-13 17:36:51 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2018-10-13 17:36:51 -0400 |
commit | f1cadea60ebe8de634fbbc1c592a925c549adb38 (patch) | |
tree | b86cd63e79826f715a1ac793f27ec5da96aa8832 /scripts |
add: fetch activities from strava
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/get_activities.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/get_activities.sh b/scripts/get_activities.sh new file mode 100755 index 0000000..ef4c3db --- /dev/null +++ b/scripts/get_activities.sh @@ -0,0 +1,3 @@ +# httpie +dir=$(dirname $0) +http get "https://www.strava.com/api/v3/athlete/activities" "Authorization: Bearer $(cat $dir/../access_token.local)" |