Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Can I do an "Advanced Search" from the API? #5

Closed
spikeygg opened this issue Aug 31, 2011 · 1 comment
Closed

Can I do an "Advanced Search" from the API? #5

spikeygg opened this issue Aug 31, 2011 · 1 comment

Comments

@spikeygg
Copy link

So I got the API working but I'm trying to search for specific Artist, Album, and SongTitle. However, I have found many times that using the generic search function on discogs results in a 404 error from their web service! >:( If I use the advanced search and punch in specific artist=, release_title=, and track= I get a result. Is there some way to use this advanced search function in the API?

Or maybe I just don't know how to enter advanced search information into the generic search box. Someone help, please.

Here is an example of my request:
releases_found = discogs.Search("artist:"" + artist + "" track:"" + title + """)

Bad: http://www.discogs.com/search?q=artist%3AWeird+Al+Yankovic+track%3AIt%27s+All+About+the+Pentiums&btn=&type=all

Good: http://www.discogs.com/advanced_search?artist=Weird+Al+Yankovic&country=US&release_title=Running+With+Scissors&track=It's+All+About+The+Pentiums&btn=Search+Releases

Thanks,
-Greg

@vreon vreon closed this as completed Aug 31, 2011
@vreon
Copy link
Member

vreon commented Aug 31, 2011

Unfortunately, no -- only the basic search is supported right now. More information here: http://www.discogs.com/help/api#search

(Excellent choice of example track, by the way.)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants