/peloton

Peloton API Go Client

Primary LanguageGoApache License 2.0Apache-2.0

peloton

Peloton API Go Client

Go codecov Go Report Card

Features

  • Get data about user as struct
  • Get data about instructors as struct
  • Get data about user workouts

Usage

	username := os.Getenv("username")
	password := os.Getenv("password")
	var client *peloton.PelotonClient
	client = peloton.NewPelotonClient(username, password)
	me, _ := client.Me()
	fmt.printf("%s" me)