discogs / discogs_client

DEPRECATED - Official Python Client for the Discogs API
http://www.discogs.com/developers
Other
480 stars 132 forks source link

Neither of the authorization scemes work. #104

Closed sngreen closed 4 years ago

sngreen commented 4 years ago

d.get_authorize_url() Traceback (most recent call last): File "", line 1, in File "C:\Users\Sergey\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discogs_client\client.py", line 63, in get_authorize_url raise AuthorizationError('Could not get request token.', status_code, content) discogs_client.exceptions.AuthorizationError: 401: Could not get request token. Response: b'Invalid consumer.'

sngreen commented 4 years ago

I assume the key is the user and the secret-here is the password. If yes,

d.set_consumer_key('key-here', 'secret-here') d.get_authorize_url()

meh .... Response: b'Invalid consumer.'

Good idea, but till it works ...

dijksterhuis commented 4 years ago

I assume the key is the user and the secret-here is the password.

No. You need to set up an Application on the below page, which can provide you with a consumer key and secret: https://www.discogs.com/settings/developers

See here for more details: https://www.discogs.com/developers/#page:authentication

vreon commented 4 years ago

Hi, thank you for opening this issue.

Unfortunately, this project is no longer actively maintained, and today, we're archiving the repository and publishing the final version to PyPI.

We sincerely appreciate your contribution and regret that we weren't able to give it the attention it deserved.