Questions tagged [discogs-api]

The API behind music marketplace Discogs. This tag should not be used for questions about discord.py "Cogs".

The API behind music marketplace Discogs. https://www.discogs.com/developers/

52 questions
1
vote
3 answers

Discogs API => How to retrieve genre?

I've crawled a tracklist of 36.000 songs, which have been played on the Danish national radio station P3. I want to do some statistics on how frequently each of the genres have been played within this period, so I figured the discogs API might help…
MikeR
  • 35
  • 1
  • 12
1
vote
1 answer

Get from Discogs API with PHP and output values

I use the following code to get data from a specific record from discogs: //initialize the session $ch = curl_init(); //Set the User-Agent Identifier curl_setopt($ch, CURLOPT_USERAGENT, 'MYAPPNAME/0.1 +http://ymysite.com'); //Set the URL of the…
JLR
  • 723
  • 1
  • 8
  • 17
1
vote
1 answer

PHP 5.4 Implementation of the Discogs API

In PHP 5.4 Implementation of the Discogs API (https://github.com/ricbra/php-discogs-api) there is example how to get $response = $client->search(['q' => 'Meagashira']); working with oauth1. The example states: $oauth = new…
Amorphous
  • 779
  • 7
  • 27
1
vote
2 answers

Accessing Discogs API from PHP

I'm trying to get release data in JSON format via Discogs API, but it doesn't work. What am I doing wrong? This code works well with other URLs. array('method' => 'GET', 'header' => 'Accept-Encoding:…
1
vote
1 answer

Python JSON How to filter returned data

I am fetching data using the Discogs API and I wanted to restrict the JSON to only records that have format as 'CD' or 'Album' or 'Maxi-Single'. I am not sure how to filter fetched data since Discogs doesnt not have a easier way to filter this from…
Prem Minister
  • 407
  • 2
  • 10
  • 20
1
vote
3 answers

What is the best way to consume REST services in Windows Store Apps?

I am quite new to Windows Store Apps developement and I need to consume a REST based web service. My issue is that there has been so much movement in development technologies made for consuming modern web services during the last years, that in the…
Ucodia
  • 7,410
  • 11
  • 47
  • 81
0
votes
1 answer

How to connect to Discogs Api using Zend_Oauth?

I'm attempting to connect to discogs.com api with Zend_Oauth as part of a custom Magento module. Discogs API details are here: accessing oauth I've followed details for using Zend Oauth here: introduction Suggested code is as follows... (I've…
0
votes
0 answers

Search filtering results via Discogs API in Python

I am playing about with the Discogs API for a personal project, and I want a Python workflow where I can search for a string (could be song or artist) and retrieve all the releases/master records where that title occurs, BUT for certain years and…
the_t_test_1
  • 1,193
  • 1
  • 12
  • 28
0
votes
1 answer

Discogs API question: By using a Release ID, can I check if that Release has Other Versions available?

Maybe by the title it's clear that I don't really know what I'm doing, but.. this really does seem like something that should be possible. I've been beating my head into the wall, but it can't seem to wrap my head around this one. The code should be…
Gruso
  • 3
  • 3
0
votes
1 answer

Code using discogs_client only works with breakpoints or in shell, otherwise KeyError

discogs_client is a module for working with the vinyl-trading platform discogs. In my code I am trying to retrieve the data for a particular release. This is the code: d = discogs_client.Client( "Vinyl-Helper", consumer_key=consumer_key, …
Max
  • 15
  • 6
0
votes
2 answers

Discogs API PHP, Cover image. Curl?

Im looking for something like cURL to get cover image from Discogs API. https://api.discogs.com/database/search?q=Rose%20Laurens%20-%20Quand%20Tu%20Pars%20(12``%20Version)&key=XXXXXX&secret=XXXXXXX I have this output: {"pagination": {"page": 1,…
drwhisp
  • 31
  • 4
0
votes
1 answer

in Ajax, how to write "headers" for multiple condition?

as a beginner, I have some problems in using Ajax (with Discogs API) .. to get a discogs request token, discogs is saying Include the following headers with your request: Content-Type: application/x-www-form-urlencoded Authorization: OAuth…
HAPPY
  • 25
  • 4
0
votes
1 answer

Python Selenium Unable to find field element to send _keys

Overlay or FrameI am trying to use Python code in order to update my Discogs with tracking numbers in the specific field when I ship an item. When I inspect that field box , this is the code (which is also shown in my attachment) input type="text"…
JayBoj
  • 1
  • 1
0
votes
1 answer

Discogs, Using DiscordClient to access the API

I would like to build an app that i'll use for myself so i'm targeting the simple authentification through Token. I had my token from Discog and i know it works because i tried it in a third party app. I'm using DiscogClient which seems to be the…
0
votes
1 answer

Discogs API : Can't get anything else than "401 You must authenticate to access this resource."

I did the Oauth flow like the docs says and got the oauth_token and the oauth_token_secret, then from my nodejs server I tried this request : request.get({ headers: { "User-Agent": "FooBarApp/3.0", "Authorization": { oauth_token:"my…
Ayra
  • 328
  • 2
  • 12