Problem fetching publisher, power info

Avatar image for esharmeen
ESharmeen

50

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I am using this url "http://comicvine.gamespot.com/api/publisher/?api_key=****&format=json" to fetch publisher info and a similar one for power, but I am not getting any data. I am doing this on R and the file I receive says this <title>404: Not Found - Comic Vine</title>. Any workaround for this?

Also, how do you increase the number of results for these data tables, they are capped at 100 for all the ones I've fetched so far.

Avatar image for arnaur
ArnauR

1

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I believe your url is wrong, if you want a list of all publishers, capped to 100 results (I don't know how to change this), your url shoud be: http://comicvine.gamespot.com/api/publishers/?api_key=****&format=json
if you want a single publisher, then your url should be something like this:

http://comicvine.gamespot.com/api/publisher/*PUBLISHER-ID*/?api_key=****&format=json

Hope it solves your problem :D