From 795cdb9f790e3587e73760268533ce5dbe961a5d Mon Sep 17 00:00:00 2001 From: irlndts Date: Fri, 5 Jan 2018 22:52:20 +0300 Subject: [PATCH] doc updated --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3633268..e33aff6 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,6 @@ go-discogs is a Go client library for the [Discogs API](https://www.discogs.com/developers/). Check the usage section to see how to access the Discogs API. -### Changelog -``` -14.02.2017 -- search is implemented -- minor improvements -``` - ### Feauteres * Database * [Releases](#releases) @@ -22,7 +15,7 @@ go-discogs is a Go client library for the [Discogs API](https://www.discogs.com/ Install -------- - go get github.com/irlndts/go-discogs + go get -u github.com/irlndts/go-discogs Usage --------- @@ -34,7 +27,8 @@ import "github.com/irlndts/go-discogs" ```go client := discogs.NewClient("TestDiscogsClient/0.0.1 +example.com", "") ``` -Some requests require authentification (as any user). According to [Discogs](https://www.discogs.com/developers/#page:authentication,header:authentication-discogs-auth-flow), to send requests with Discogs Auth, you have two options: sending your credentials in the query string with key and secret parameters or a token parameter. Key-secret doesn't implemented yet, but token is yes. +Some requests require authentification (as any user). According to [Discogs](https://www.discogs.com/developers/#page:authentication,header:authentication-discogs-auth-flow), to send requests with Discogs Auth, you have two options: sending your credentials in the query string with key and secret parameters or a token parameter. +This is token way example: ```go client := discogs.NewClient("TestDiscogsClient/0.0.1 +example.com", "sometoken") ```