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
0
votes
3 answers

Unable to use Java Signpost to properly OAuth (with Discogs)

I'm trying to use Java SignPost to get Oauth support from discogs If I call this method it provides a url to a website, then if I login I get a verification code, so far so good. public static String requestDiscogsAuthorization() throws…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
3 answers

Parsing from a list in python

I just finished some online tutorial and i was experimenting with Discogs Api My code is as follows : import discogs_client as discogs discogs.user_agent = '--' #i removed it artist_input = raw_input("Enter artist\'s name : ") artist =…
Rentonie
  • 477
  • 1
  • 10
  • 25
0
votes
2 answers

python performance of httplib (discogs API)

I wrote a short prog which uses the Discogs API with python, but it is so damn slow thats not usable for real web-applications. Here is the Python code and the python profile results (published only the time consuming spots) : # -*- coding: utf-8…
user1911091
  • 1,219
  • 2
  • 14
  • 32
0
votes
3 answers

Python JSON not fetching data from urllib

I am trying to fetch JSON data using the discogs API, but the code doesnt seem to give the output I see when I paste the data in a browser as raw. Kindly let me know what I am doing wrong here as I am new to Python. I was looking to get the output…
Prem Minister
  • 407
  • 2
  • 10
  • 20
0
votes
2 answers

Discogs API getJSON not working

I am trying to simply search the Discogs database and display the results in HTML, but when I try to perform the jQuery function getJSON it acts as if the URL I have provided is incorrect, as NOTHING will work inside the getJSON function. When I…
jgille07
  • 229
  • 2
  • 8
  • 21
-1
votes
1 answer

How to correctly parse this text with PHP? I'm halfway there

I have this block of text (from the Discogs API) detailing information about bands that contain the word "Pink"... http://pastebin.com/3vBnC0aE I'm trying to figure out how to correctly extract the artist names from this block of text. My attempt…
m0a
  • 1,005
  • 2
  • 15
  • 29
-1
votes
1 answer

Extracting values from JSON in PHP

I am currently experimenting with the Discogs API, using PHP. My query against their API is returned as JSON, which I can decoding using: $trackMeta = json_decode($trackMeta, true); I'd then like to be able to access certain elements within the…
Peter Griffin
  • 11
  • 2
  • 5
1 2 3
4