Debian Codegraph @

examples/discogs/README.markdown

raw
1 This example shows how to use the oauth package with [Discogs](http://www.discogs.com/developers/).
2
3 The examples require a configuration file containing a consumer key and secret:
4
5 1. [Create an application](https://www.discogs.com/settings/developers).
6 2. $ cp config.json.example config.json.
7 3. Edit config.json to include your consumer key and secret from step 1.
8
9
10 To run the web example:
11
12 1. $ go run main.go
13 2. Go to http://127.0.0.1:8080/ in a browser to try the application.