HTTP API Definition: Difference between revisions

No edit summary
Line 26: Line 26:
URL: TBA
URL: TBA


== 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:
* <tt>query={string}</tt> [required]
** the escaped query string to search for (i.e. "sailor moon" should be sent as "sailor%20moon").
Example:
URL: TBA
=== Data ===
<code><pre>
<?xml version="1.0" encoding="utf-8" ?>
<search>
  <anime aid="1">
      <titles>
        <!-- always includes the main title as well as all official titles, synonyms and short titles are not listed -->
        <title type="main" lang="x-jat">Seikai no Monshou</title>
        <title type="official" lang="ja">星界の紋章</title>
        <title type="official" lang="en">Crest of the Stars</title>
        <title type="official" lang="fr">Crest of the Stars</title>
        <title type="official" lang="pl">Crest of the Stars</title>
      </titles>
  </anime>
  <anime aid="2">
      <titles>
        ...
      </titles>
  </anime>
  ...
</search>
</pre></code>


== Anime Data ==
== Anime Data ==
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.