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
1 answer

Wrangling a Complex List in R

I have a complex list structure in R that I'd like to put in a dataframe format. The data are below. The list contains eight columns of data on five different music albums. The number of rows in each list element is equal to the number of personnel…
Ben
  • 1,113
  • 10
  • 26
0
votes
1 answer

Munging a recursive discogs list

Using discogs, I obtain a list of releases by a given jazz musician like this: releases <- list() artists <- list() artistURL <- "https://api.discogs.com/artists/" library(jsonlite) a <- function(artistcode){ for(i in 0:3){ artistset <-…
Ben
  • 1,113
  • 10
  • 26
0
votes
1 answer

Why does my R loop return an out of bounds error?

I'm trying to write a looped function that extracts data from the discogs api. I've started with writing a function 'a' and it works: releases <- list() artists <- list() artistURL <- "https://api.discogs.com/artists/" a <- function(artistcode){ …
Ben
  • 1,113
  • 10
  • 26
0
votes
0 answers

R loop to wait specified time

I'm working with the Discogs API and am running into an issue with rate limiting. I have a loop to to cycle through all of my release id's and then pull back further release information. The rate limit is 25 calls every 60 seconds, but I can't seem…
Ed Cunningham
  • 179
  • 1
  • 3
  • 17
0
votes
1 answer

SAX Parsing in Ruby using Ox

I know it's a pretty noob question once again, but I'm stumbling through the internet for some days now and can't solve my problem. I've downloaded the data dumps from discogs, a xml-file with roughly 35 GB. I've got so far that I will have to use a…
rtuz2th
  • 79
  • 8
0
votes
1 answer

How to handle logged in state of user authenticated via 3rd party OAuth1.0a?

I am building a website using Node.JS/Express.JS that will allow a user to log in using a 3rd party provider (Discogs via OAuth1.0a). I have successfully implemented the authentication process so that a user grants access to their Discogs account…
Drumbeg
  • 1,914
  • 1
  • 15
  • 22
0
votes
1 answer

Problems Parsing a Json File in Ruby

I'm pretty new to programming ruby and using json packages, I think I'm facing a typical noob-error, but I just cant find my mistake for two days now.. I've started like this: require 'discogs-wrapper' require 'json' aw =…
rtuz2th
  • 79
  • 8
0
votes
0 answers

GET http://localhost:4200/api/user/ 404 (Not Found) angular 2

I have this error when I try to login to my app but i have some problems with a 404(not found) included... I will put some lines of my code and the image of the error..... Please help me fix the issue . @Injectable() export class AuthGuard…
0
votes
2 answers

Aurelia and Discogs API

I'm developing an app with Aurelia.io using Discogs API. Well, it's Javascript, for the ones who may not know Aurelia (I don't know if it's famous yet). I'm writing this (of course xxx are the real values): import {HttpClient} from…
djcaesar9114
  • 1,880
  • 1
  • 21
  • 41
0
votes
1 answer

Integrating Discogs disconnect node module in Aurelia project

I'm using aurelia.io, and I'd like to use "disconnect" npm package in my app to handle Discogs API. I install it normally, typing npm install disconnect --save in the folder of my app. I also edit aurelia.json correctly to insert in the…
djcaesar9114
  • 1,880
  • 1
  • 21
  • 41
0
votes
1 answer

Javascript jQuery calling on API to fill table but receiving undefined for a particular object call

So the problem I seem to be having is that when I populate my table the object discogsObjects.year populates my table consistently with "undefined" despite the fact that when I call it in devtools it returns values of years called from the API. My…
0
votes
1 answer

How to send authenticated request to Discogs Api

I'm following the OAuth 1.0 Protocol so I can send an Authenticated Request to /oauth/identity Endpoint as in step 5 of the Auth flow. From the doc, making request involves including several params as you can see here. What my requests looks like…
vicolored
  • 815
  • 2
  • 10
  • 20
0
votes
1 answer

How to use Discogs API to display similarly named artists?

I'm making a website where I'd like the user to be able to start typing in a band name (for example, "Rad") and have Discogs API display 10 most similar suggestions to them (for example, "Radical Face", "Radiohead", etc). These suggestions could be…
m0a
  • 1,005
  • 2
  • 15
  • 29
0
votes
2 answers

How to change/remove/ignore a http header just before parsing the response in Node?

I'm currently working with Node to get data from an API (Discogs API) and I've got this error when requesting : { [Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' } Using this link : http://api.discogs.com/releases/249504 (but I…
Lauromine
  • 1,453
  • 9
  • 19
0
votes
1 answer

TypeError: __repr__ returned non-string (type bytes)

I am trying to access the Discogs API using their Python client library. Here is a minimal example of my attempts to interact with the Discogs API: from SensitiveInformation.discogs_application_info import provide_discogs_auth,…
tchakravarty
  • 10,736
  • 12
  • 72
  • 116