MichaelBrooks

This user has not updated recently.

2 0 0 0
Forum Posts Wiki Points Following Followers

MichaelBrooks's forum posts

Avatar image for michaelbrooks
MichaelBrooks

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By MichaelBrooks

Hello,

I have been attempting to use the API and have successfully used /characters, /search and /powers. The ones I am not sure on are the singular URIs such as /character. I thought I could replicated the filter url in /characters to get just a single character with a list of their powers etc.

Something like this...

http://www.comicvine.com/api/character/?api_key=xxx&filter=name:spiderman&format=json

This will error, but this is the proper URI

www.comicvine.com/api/character/4005-75487/?api_key=xxx&format=json

What I don't understand and what isn't explained in the documentation is the /4005-75487/ parameter of the URI.

I know I can always get this full character URL by requesting the characters URL first and querying my chosen character and then reading out the api_detail_url and grabbing the rest of the info from that, but then to me, that's one too many requests. I should be able to query the /character URI with a certain filter...

What are other people's opinions and best way to get around this sort of thing?