From f13e4ec988a10c6283148e0b91f5ce3bc2cf8854 Mon Sep 17 00:00:00 2001 From: Santhosh Veer Date: Fri, 8 Sep 2023 18:54:09 +0530 Subject: [PATCH] Update README.md --- README.md | 84 +------------------------------------------------------ 1 file changed, 1 insertion(+), 83 deletions(-) diff --git a/README.md b/README.md index e12feff..f1ec700 100644 --- a/README.md +++ b/README.md @@ -1,85 +1,3 @@ # Strava CLI -[![bash-test](https://github.com/mskian/strava-bash-cli/actions/workflows/test.yml/badge.svg)](https://github.com/mskian/strava-bash-cli/actions/workflows/test.yml) - -Bash Shell Script to Upload GPX file on your Strava Profile Activity - -## Requirements - -- cURL -- jq -- Strava API - -## Create API - -- Create an Application from your Strava Account - -- After creating your App you can get your Client, Client Secret, Access Token, and Refresh Token -- Access Token is your API key it will expire in 6 Hours once you Generate -- For that we have Sperate file `token.sh` to Refresh the Expired API Key - Just add your Client ID, Secret, Refresh Token, and GPX File location -- it will autogenerate the `.env` file with New API and GPX File location - -## Setup - -- Use git to clone or download this Repo - -```sh -git clone https://github.com/mskian/strava-bash-cli.git -cd strava-bash-cli -``` - -- Update Permission - -```sh -chmod +x strava.sh -chmod +x token.sh -``` - -- Execute the Script - -```sh -./strava.sh -``` - -- Generate New API Key - -```sh -./token.sh -``` - -## How to use - -- Display a Help Message - -- `./strava.sh -h` - -```sh -strava.sh [options] - - Example: - strava.sh -l - - Options: - -l Get Upload Status - -s Upload GPX File to Strava - -h Display Help Message - -v Check CLI Version -``` - -- `./strava.sh -s` - Upload your GPX File -- `./strava.sh -l`- Check the Upload Status using Activity ID that you Got while Uploading GPX File - -## Tested Apps - -- OpenTracks GPX File - -- MI band GPX File - Export via Zepp Life App -- you can use this CLI on your Android Device by using Termux - - -## Reference - -- Strava Upload GPX File via cURL - -- Getting Started with the Strava API - -- Generate NEW API - - -## LICENSE - -MIT +This repo was Moved to -