HTTP API Definition: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 178: Line 178:
<code><pre>
<code><pre>
<error>Banned</error>
<error>Banned</error>
</pre></code>
=== Category List ===
==== Access ====
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=categorylist</nowiki></u>
Parameters:
* <tt>request=categorylist</tt>
** The current AniDB category tree.  This tree is fairly static, with only rare changes.  Request a new list only if you have good reason to believe there has been changes.
Example:
URL: <u><nowiki>http://api.anidb.net:9001/httpapi?client={str}&clientver={int}&protover=1&request=categorylist</nowiki></u>
<code><pre>
<categorylist>
  <category id="80" parentid="3">
      <name>18 Restricted</name>
        <description>This isn`t really an "Audience".
        While some anime might feature sexual content they still might not be porn. Only use it when the content is clearly *not* intended for minors.   
        </description>
  </category>
  <category id="4" parentid="313">
      <name>Action</name>
  </category>
...
  <category id="37" parentid="30">
      <name>Yuri</name>
        <description>Yuri refers to anime that portray lesbian (female/female) sex. Do not confuse this with the Shoujo Ai category under Romance, which only portrays girl/girl relationships, but generally not anything pornographic. This is real female/female porn.</description>
  </category>
</categorylist>
</pre></code>
</pre></code>


Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.