HTTP API Definition: Difference between revisions

No edit summary
Line 1: Line 1:
= Early Draft =
= Early Draft =


== General Parameters ==
Note: This is still a very early draft and has not yet been implemented!
 
= General =
 
== Encoding ==
 
All content is UTF8 encoded and gzip compressed (you may have to handle the decompressing yourself, if your HTTP library doesn't support compression of HTTP data).
 
== Flooding ==
 
All users of this API should employ heavy local caching. Requesting the same dataset multiple times on a single day can get you banned. The same goes for request flooding. You should not request more than one page every two seconds on average.
 
== Parameters ==


These parameters apply to all HTTP XML API pages and should always be added to the request URLs.
These parameters apply to all HTTP XML API pages and should always be added to the request URLs.
Line 18: Line 30:




== Anime Search ==
= 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]].
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 ===
== Access ==


Base URL: TBA
Base URL: TBA
Line 34: Line 46:




=== Data ===
== Data ==


<code><pre>
<code><pre>
Line 58: Line 70:
</pre></code>
</pre></code>


== Anime Data ==
= Anime Data =


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).


=== Access ===
== Access ==


Base URL: TBA
Base URL: TBA
Line 75: Line 87:




=== Data ===
== Data ==


<code><pre>
<code><pre>
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.