358
edits
No edit summary |
|||
Line 36: | Line 36: | ||
URL: <u><nowiki>http://api.anidb.net:9001/httpapi?client={str}&clientver={int}&protover=1</nowiki></u> | URL: <u><nowiki>http://api.anidb.net:9001/httpapi?client={str}&clientver={int}&protover=1</nowiki></u> | ||
== Anime | == Data Commands == | ||
=== Anime === | |||
Allows retrieval of non-file or episode related information for a specific anime by AID (AniDB anime id). | Allows retrieval of non-file or episode related information for a specific anime by AID (AniDB anime id). | ||
=== Search === | ==== Search ==== | ||
AniDB offers a daily updated dump of all anime titles which can be used to support client sided anime search features. | AniDB offers a daily updated dump of all anime titles which can be used to support client sided anime search features. | ||
Line 49: | Line 51: | ||
Alternatively there is a ready to use search using these dumps available by a third party: [http://anisearch.outrance.pl/] (thx to eloyard) | Alternatively there is a ready to use search using these dumps available by a third party: [http://anisearch.outrance.pl/] (thx to eloyard) | ||
=== Access === | ==== Access ==== | ||
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=anime</nowiki></u> | Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=anime</nowiki></u> | ||
Line 64: | Line 66: | ||
URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}</nowiki></u> | URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}</nowiki></u> | ||
=== Data === | ===== Data ===== | ||
<code><pre> | <code><pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 172: | Line 174: | ||
</anime> | </anime> | ||
</pre></code> | </pre></code> | ||
=== Errors === | ==== Errors ==== | ||
[http://anidb.net/perl-bin/animedb.pl?show=cmt&post=159118 According to ommina] the API does not use HTTP return code. Instead you will get XML consisting of one tag with a textual description. | [http://anidb.net/perl-bin/animedb.pl?show=cmt&post=159118 According to ommina] the API does not use HTTP return code. Instead you will get XML consisting of one tag with a textual description. | ||
<code><pre> | <code><pre> | ||
Line 178: | Line 180: | ||
</pre></code> | </pre></code> | ||
== Category List == | === Category List === | ||
=== Access === | ==== Access ==== | ||
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=categorylist</nowiki></u> | Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=categorylist</nowiki></u> | ||
Line 212: | Line 214: | ||
</pre></code> | </pre></code> | ||
== User Mylist Summary == | == User Data Commands == | ||
=== User Mylist Summary === | |||
=== Access === | ==== Access ==== | ||
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=mylistsummary&user={str anidb username}&pass={str anidb password}</nowiki></u> | Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=mylistsummary&user={str anidb username}&pass={str anidb password}</nowiki></u> | ||