HTTP API Definition: Difference between revisions

Line 389: Line 389:
     </mylistitem>
     </mylistitem>
<mylistsummary>
<mylistsummary>
</pre></code>
=== User Hints ===
Returns a list of unwatched titles and a calculated rating, based upon existing votes.  The list may be empty if the requested user is very new, has not voted for enough titles, or has very stale (a number of months old) data.
Hints are calculated once a day.
==== Access ====
Base URL: <u><nowiki>http://api.anidb.net:9001/httpapi?request=hints&user={str anidb username}&pass={str anidb password}&type=1</nowiki></u>
Parameters:
* <tt>request=hints</tt>
* <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.
* <tt>type=1</tt>
** always 1, but must be included.
Example:
URL: <u><nowiki>http://api.anidb.net:9001/httpapi?client={str}&clientver={int}&protover=1&request=hints&user={str}&pass={str}&type=1</nowiki></u>
<code><pre>
<hints uid="40237" type="1">
    <hint adddate="2015-03-23">
        <relid>5</relid>
        <calculated>8.09</calculated>
    </hint>
</hints>
</pre></code>
</pre></code>


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