HTTP API Definition: Difference between revisions

(warning about old HTTP libraries)
Line 210: Line 210:
   </category>
   </category>
</categorylist>
</categorylist>
</pre></code>
== User Mylist Summary ==
=== Access ===
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=mylistsummary&user={str anidb username}&pass={str anidb password}</nowiki></u>
Parameters:
* <tt>request=mylistsummary</tt>
** Returns a list of the user's anime list in summary form, roughly matching the data in the "my list" page of the web interface.
* <tt>user={str username}&pass={str password}</tt>
** The user name and password of the desired user.  This is their main password, not the API password specified in the profile.
Example:
URL: <u><nowiki>http://api.anidb.net:9001/httpapi?client={str}&clientver={int}&protover=1&request=categorylist&user={str}&pass={str}</nowiki></u>
<code><pre>
<mylistsummary uid="40237">
    <mylistitem aid="5841" state="2">
        <episodecount>22</episodecount>
        <seencount>22</seencount>
        <specialcount>9</specialcount>
        <seenspecialcount>4</seenspecialcount>
    </mylistitem>
<mylistsummary>
</pre></code>
</pre></code>


[[Category:Development]]
[[Category:Development]]
[[Category:API]]
[[Category:API]]
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.