340
edits
(→Data) |
No edit summary |
||
Line 1: | Line 1: | ||
= Early Draft = | = Early Draft = | ||
== | == General Parameters == | ||
These parameters apply to all HTTP XML API pages and should always be added to the request URLs. | |||
Parameters: | Parameters: | ||
Line 16: | Line 13: | ||
** client version number, needs to be valid client version number for the given client identification string. | ** client version number, needs to be valid client version number for the given client identification string. | ||
Example: | |||
URL: http://.../animedb.pl?show=xmlapi&client=clientname&clienver=13&... | |||
== Anime Search == | |||
Allows lookup of AniDB anime ids (AIDs) by anime title. Additionally AniDB also provides a daily dump with all anime titles which can be used to implement client-side searches, see: [[API]]. | |||
=== Access === | |||
Base URL: TBA | |||
Parameters: | |||
* query={string} | |||
** the query string to search for. | |||
Example: | |||
URL: http://.../animedb.pl?show=xmlapi&...&t=search&query=sometitle | |||
=== Data === | |||
<code><pre> | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
</pre></code> | |||
== Anime Data == | |||
Allows retrieval of non-file or episode related information for a specific anime by AID (AniDB anime id). | |||
=== Access === | |||
Base URL: TBA | |||
Parameters: | |||
* aid={integer} [required] | * aid={integer} [required] | ||
** AniDB anime id of the anime you want to retrieve data for. | ** AniDB anime id of the anime you want to retrieve data for. | ||
Line 21: | Line 55: | ||
Example: | Example: | ||
URL: http://.../animedb.pl?show=xmlapi& | URL: http://.../animedb.pl?show=xmlapi&...&t=anime&aid=1832 | ||