strava-export

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 10 Imported by: 0

README

strava-export

Excel exporter for Strava.

Configuration

The application can be configured using environment variables, either by using the file .env to store key/value pairs or by directly exporting them in the applications environment. The following variables can be used:

Environment variable Description Default
ADDRESS Address used to launch server localhost
PORT Port used to launch server 8080
DEBUG Enable debug logging for http server false
STRAVA_CLIENT_ID Strava Application client id -
STRAVA_CLIENT_SECRET Strava Application client secret -
BASE_URL Base url for application (used for auth redirect) http://localhost:8080

Swagger client library

Strava provides a swagger spec to generate client libraries for their api. The following command was used to generate to go library and store it in a package:

swagger-codegen generate -i https://developers.strava.com/swagger/swagger.json -l go -o pkg/strava

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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