Skip to content

Commit

Permalink
fitbit: add Fitbit API endpoints
Browse files Browse the repository at this point in the history
Change-Id: I4578f5683aa9ed728e503cb3b08ff0bf743a6190
Reviewed-on: https://go-review.googlesource.com/21034
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
mdlayher authored and bradfitz committed Mar 23, 2016
1 parent 045497e commit 93758b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions fitbit/fitbit.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package fitbit provides constants for using OAuth2 to access the Fitbit API.
package fitbit // import "golang.org/x/oauth2/fitbit"

import (
"golang.org/x/oauth2"
)

// Endpoint is the Fitbit API's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://www.fitbit.com/oauth2/authorize",
TokenURL: "https://api.fitbit.com/oauth2/token",
}

0 comments on commit 93758b5

Please sign in to comment.