AutoWeb [WIP]Discogs

Discussion in 'AutoApps' started by cramu, Mar 31, 2016.

  1. cramu

    cramu New Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    1
    To learn how this API stuff works I decided to create a Discogs API.
    I have to admit that it is quite easy to implement basic methods by using the API wizard, since the output is generated automatically.

    Currently you can use it to return a bunch of metadata if you know the correct artist ID or release ID.
    You can find the exported API attached.

    To find out what the correct database id would be I tried to add a search method by putting the following urls into the API wizard:
    http://api.discogs.com/database/search?q=Surfpatrouille&type=artist
    http://api.discogs.com/database/search?artist=Surfpatrouille&type=release
    In this case AW wasn't able to identify where the search term begins and what the variables are so I was not able to generate any output.

    The Discogs API requires to pass a user agent string.
    For my testing purposes I added a --user-agent "FooBarApp/3.0" which works well but I'd like to know what I should put in correctly.
     

    Attached Files:

: Discogs

Share This Page