API endpoints

Avatar image for royadams
RoyAdams

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By RoyAdams

Hi all

I'm having difficulty finding any information in regards to endpoints to use for the API

Found this by chance on one of the posts

http://api.comicvine.com/issues/?api_key={myKey}&publish_year=2012&publish_month=1

Which works in the browser but not when I implement it within my App (Node/Express server)

Some of the response reads:
"Sorry we do not allow WordPress plugins to scrape our site."

And something about an "LG Podcast player"

Has anyone run into this before?

Avatar image for driftsam7
driftSam7

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@royadams: Any chance you figured out what was causing this? I'm seeing the exact same problem when I try to hit the api from my app.

Avatar image for wonderous350
wonderous350

50

Forum Posts

3

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Yes - you need to change the user-agent field in the header in your requests. It's blocking automated/bot/basic user-agents and likely explicitly from WordPress.