Skip to content

Commit

Permalink
Add package discogs OAuth 1 Endpoint (dghubble#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachorosz authored and bvuong committed Sep 16, 2021
1 parent b3643a5 commit 0a39635
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions discogs/discogs.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Package discogs provides constants for using OAuth1 to access Discogs.
package discogs

import (
"github.com/dghubble/oauth1"
)

// Endpoint is Discogs's OAuth 1.0a endpoint.
var Endpoint = oauth1.Endpoint{
RequestTokenURL: "https://api.discogs.com/oauth/request_token",
AuthorizeURL: "https://www.discogs.com/oauth/authorize",
AccessTokenURL: "https://api.discogs.com/oauth/access_token",
}

0 comments on commit 0a39635

Please sign in to comment.