#1 Posted by xstefanx (16 posts) - - Show Bio

Yesterday, this url would result with two volumes being returned, the issues and then the TPB.

http://api.comicvine.com/search/?api_key=XXXXXXXXXXXXXXXXXXXXXXX&query=who_is_jake_ellis&format=xml

Starting around 4~ CST Yesterday that link started returning nothing. I can however get the volumes to come up if I change query to just ellis, like this

http://api.comicvine.com/search/?api_key=XXXXXXXXXXXXXXXXXXXXXXX&query=ellis&format=xml

But, in terms of the project I'm working on, that doesn't really help me. Is there something I am doing wrong?

#2 Edited by cbanack (81 posts) - - Show Bio

Looks like the new API does not interpret "_" characters as spaces. You should put actual spaces in the URL.

Depending on how you're constructing the URLs, you might be able to just use spaces instead of "_", and they will be automatically encoded into "%20"s. Otherwise, you might have to encode them yourself:

http://api.comicvine.com/search/?api_key=XXXXXXXXXXXXXXXXXXXXXXX&query=who%20is%20jake%20ellis&format=xml

More info here.

#3 Edited by xstefanx (16 posts) - - Show Bio

Much appreciated!