Forum - View topic
Encyclopedia API


Goto page Previous  1, 2, 3, 4  Next

Anime News Network Forum Index -> Site-related -> Encyclopedia
View previous topic :: View next topic  
Author Message
Shankem



Joined: 25 Dec 2012
Posts: 2

PostPosted: Thu Dec 27, 2012 7:21 pm Reply with quote
Dan42 wrote:
If the exact same thing works on your home IP but not your server IP, yeah it's probably an IP problem. What's your server's IP?

The IP is 66.147.244.107, but it's a shared IP (on bluehost). So if it was banned or something, it's possible there was some traffic from someone else on the same IP, although I don't really know.
Back to top
View user's profile Send private message
abarcenas



Joined: 02 Feb 2013
Posts: 3

PostPosted: Sat Feb 02, 2013 9:45 am Reply with quote
Hi Guys. I am using your api on my project. It seems that there is a problem on the xml in some of my queries. I hope someone from the dev team can help me on this.

Try this link to see the error:
http://cdn.animenewsnetwork.com/​encyclopedia/​api.​xml?​title=​~​naruto

It appears to happen on titles with well-established franchised. I hope this gets resolve soon.

Thanks.


Last edited by abarcenas on Sat Feb 02, 2013 12:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Shiroi Hane
Encyclopedia Editor


Joined: 25 Oct 2003
Posts: 5936
Location: Wales

PostPosted: Sat Feb 02, 2013 11:37 am Reply with quote
I'm seeing a page of XML. What is the error?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
abarcenas



Joined: 02 Feb 2013
Posts: 3

PostPosted: Sat Feb 02, 2013 12:17 pm Reply with quote
Here is the error:

http://screencast.com/​t/​to109j4fc

Note: Further testing. It seems it only happens in chrome.
Note2: It seems it works now. Thanks for the prompt reply.
Back to top
View user's profile Send private message
Shiroi Hane
Encyclopedia Editor


Joined: 25 Oct 2003
Posts: 5936
Location: Wales

PostPosted: Sat Feb 02, 2013 1:30 pm Reply with quote
I am also using Chrome.
For whatever reason, in that screenshot it is rendered as HTML.

May have been a temporary glitch?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
abarcenas



Joined: 02 Feb 2013
Posts: 3

PostPosted: Sat Feb 02, 2013 11:47 pm Reply with quote
It appears so. I no longer have any problems with it.

Say. Since I am here. Is it possible to include the companies in the api? At least the main studio of an Anime, like Production I.G, Madhouse etc?
Back to top
View user's profile Send private message
Shiroi Hane
Encyclopedia Editor


Joined: 25 Oct 2003
Posts: 5936
Location: Wales

PostPosted: Mon Feb 04, 2013 12:19 pm Reply with quote
dan?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
ruchard



Joined: 15 Apr 2013
Posts: 1

PostPosted: Mon Apr 15, 2013 8:52 am Reply with quote
abarcenas wrote:
It appears so. I no longer have any problems with it.

Say. Since I am here. Is it possible to include the companies in the api? At least the main studio of an Anime, like Production I.G, Madhouse etc?


I would like to second that request. I would be great to be able to link companies with particular anime through the api.
Back to top
View user's profile Send private message
Dan42
Chief Encyclopedist


Joined: 02 Jan 2002
Posts: 3184
Location: Montreal

PostPosted: Tue Apr 16, 2013 9:47 am Reply with quote
We're not going to include all companies in there. But the main studio, sure. Except... what is the main studio? I guess if I include companies credited with "Production" or "Animation Production" it should do the trick?
Back to top
View user's profile Send private message Visit poster's website AIM Address My Anime My Manga
DoddyUK



Joined: 23 Jan 2008
Posts: 4

PostPosted: Thu Apr 18, 2013 6:11 pm Reply with quote
Hi there,
Firstly I'd like to say thanks for developing this API. I can appreciate how difficult it is to put together a way of accessing this much data safely.

I'm currently developing an Android application which (hopefully) works in tandem with both the ANN API and the MAL API. As part of the UI, I'll be displaying thumbnails of each title alongside its name. However, I also intend to have prominent "featured" titles at the top of the home screen.

The problem I'm having is that the image sizes available from the API is too small for what the "featured" titles require - for this to work as I imagine the images would need around 600-800px wide. The vast majority of images served up by the API at the moment are only about 200px wide, and while they're ok for listings, they would be terribly stretched up when taking the entire width of a phone's screen. I am mindful of bandwidth concerns on a site as big as this, and I will be performing sensible caching of both feeds and images.

So is there a way of obtaining higher-resolution images via the ANN API or are there any plans to offer images at a higher resolution? If not, could you recommend any APIs or sites which I would be able to reliably obtain artwork from? (with their consent, and ideally minus the possibility of running into adult material)

Cheers.
Back to top
View user's profile Send private message
Dan42
Chief Encyclopedist


Joined: 02 Jan 2002
Posts: 3184
Location: Montreal

PostPosted: Thu Apr 18, 2013 9:30 pm Reply with quote
It looks like today is your lucky day. Maybe I was in a coding mood, because before I knew it I found myself adding different picture sizes to the API. The <info type="Picture"> element can now have up to 3 <img> sub-elements, for small (up to 200x200), medium (up to 500x600), and large images. like this
Back to top
View user's profile Send private message Visit poster's website AIM Address My Anime My Manga
DoddyUK



Joined: 23 Jan 2008
Posts: 4

PostPosted: Fri Apr 19, 2013 2:01 pm Reply with quote
Brilliant, thanks a lot for that. I take it the larger images will only be available for more recent titles?
Back to top
View user's profile Send private message
DoddyUK



Joined: 23 Jan 2008
Posts: 4

PostPosted: Mon Apr 22, 2013 1:26 pm Reply with quote
Getting 404s for some images. Cross Game (id 10590) is one example:

Code:
http://cdn.animenewsnetwork.com/thumbnails/fit200x200/encyc/A10580-91.jpg
Back to top
View user's profile Send private message
Dan42
Chief Encyclopedist


Joined: 02 Jan 2002
Posts: 3184
Location: Montreal

PostPosted: Mon Apr 22, 2013 7:54 pm Reply with quote
DoddyUK wrote:
Brilliant, thanks a lot for that. I take it the larger images will only be available for more recent titles?

It entirely depends on what people have uploaded, but yeah there's a higher likelyhood of recent series having larger images.

DoddyUK wrote:
Getting 404s for some images.

fixed
Back to top
View user's profile Send private message Visit poster's website AIM Address My Anime My Manga
aydin1



Joined: 14 Oct 2013
Posts: 2
Location: England

PostPosted: Mon Oct 14, 2013 2:59 am Reply with quote
Hi,

I'm developing a project that uses the ANN API, so thanks for providing the service. What's great about the ANN encyclopedia is that it has much better information about individual releases than other sites.

However, there's no way (that I can see at least) for me to access release information via the API - which is a big part of what this project would relate to.

It'd be great if I could access release information using the same syntax as for a title. For example, api.xml?release=7287 would retrieve the XML for Jinki: Extend (GN 1)

Would it be possible for this functionality to be added to the API?

Let me know your thoughts,
Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Anime News Network Forum Index -> Site-related -> Encyclopedia All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 


Powered by phpBB © 2001, 2005 phpBB Group