Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexhokl/strava-cli
https://github.com/alexhokl/strava-cli
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexhokl/strava-cli
- Owner: alexhokl
- License: apache-2.0
- Created: 2021-09-26T05:56:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-04T05:56:51.000Z (11 months ago)
- Last Synced: 2024-06-20T12:48:13.066Z (7 months ago)
- Language: Go
- Size: 353 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# strava-cli
## Commands
### Login
```sh
strava-cli login
```### Show profile
```sh
strava-cli profile
```### List activities
```sh
strava-cli list activity
```### List starred segments
```sh
strava-cli list segment
```### List recent efforts of a segment
```sh
strava-cli list segment-effort --id 631238
```### Bash completion
To Mac
```sh
task completion-mac
```To Linux
```sh
task completion-linux
```### To generate code to talk to Strava API
```sh
git clone https://github.com/swagger-api/swagger-codegen
cd swagger-codegen
git checkout master
./run-in-docker.sh mvn package
./run-in-docker.sh generate -i https://developers.strava.com/swagger/swagger.json -l go -o generated/go
rm -rf ../strava-cli/swagger
mv generated/go ../strava-cli/swagger
```## Links
- [Strava API Brand Guidelines](https://developers.strava.com/guidelines/)