I am trying to pull data from discogs.com API.. http://www.discogs.com/help/api
I have absolutely no idea on how to go by.. I have an api_key,
I have installed REST Server, XMLRPC Server, Zend Framework and Services modules.
I have these two supports:
> >
> > Now you'll have to make your services that will expose parts of
> > Discogs.com. If you have a look at the Services API, you'll see that
> > there's a hook_services that will help you with this.
If you make a Discogs module, you can have something like:
function discogs_services() {
return array(
'discogs.dosomething' => array(
// Blah
)
);
}
And then users could call the discogs.dosomething service through REST.
But still don know where to sart..
Comments
Comment #1
zostay commentedA REST server such as is provided by the API modules of Drupal and this REST API module in particular are not going to help you access data from another web site. They merely provide a way to get data from or into your Drupal installation, even so they only provide the server-side of the mechanism. They do not help you get data from an external source.
For help on accessing data from an external source, you'll need to get help elsewhere on how to write a REST API client for DISCOGS. That's not what this module does.
Comment #2
tirdadc commentedI am currently in the process of writing a module to allow pulling releases, artists and labels from Discogs. I'll be sure to contribute an alpha once I have a few more things knocked out.
Comment #3
evali commentedThis would be great! Do you already have something that works?
Comment #4
rolfmeijer commented@#2 Wow, that would be very cool!
I constructed links to artist-pages from nodes (see f.i. http://verrukkelijke15.nl/verrukkelijke15/artiesten/talk-talk), and for individual songs I made a advanced search URL (f.i. http://verrukkelijke15.nl/verrukkelijke15/songs/palais-schaumburg/quiet-...). But of course it would be very nifty to have a more sophisticated way to show artists, releases and searches.
Comment #5
mediamash commentedwould be a great module!
Comment #6
Karlheinz commented@tirdadc:
I'm actually writing a module like this as well. In fact, mine is very close to complete. Want to join forces?
Comment #7
tirdadc commentedKarlheinz: sure thing, just sent you an email reply.