/
flickr.tags.getHotList.xml
29 lines (29 loc) · 2.07 KB
/
flickr.tags.getHotList.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<method name="flickr.tags.getHotList" needslogin="0" needssigning="0" requiredperms="0">
<description>Returns a list of hot tags for the given period.</description>
<response><hottags period="day" count="6">
<tag score="20">northerncalifornia</tag>
<tag score="18">top20</tag>
<tag score="15">keychain</tag>
<tag score="10">zb</tag>
<tag score="9">selfportraittuesday</tag>
<tag score="4">jan06</tag>
</hottags></response>
</method>
<arguments>
<argument name="api_key" optional="0">Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.</argument>
<argument name="period" optional="1">The period for which to fetch hot tags. Valid values are <code>day</code> and <code>week</code> (defaults to <code>day</code>).</argument>
<argument name="count" optional="1">The number of tags to return. Defaults to 20. Maximum allowed value is 200.</argument>
</arguments>
<errors>
<error code="1" message="Not a valid date.">The date argument passed was incorrect.</error>
<error code="100" message="Invalid API Key">The API key passed was not valid or has expired.</error>
<error code="105" message="Service currently unavailable">The requested service is temporarily unavailable.</error>
<error code="111" message="Format "xxx" not found">The requested response format was not found.</error>
<error code="112" message="Method "xxx" not found">The requested method was not found.</error>
<error code="114" message="Invalid SOAP envelope">The SOAP envelope send in the request could not be parsed.</error>
<error code="115" message="Invalid XML-RPC Method Call">The XML-RPC request document could not be parsed.</error>
<error code="116" message="Bad URL found">One or more arguments contained a URL that has been used for abuse on Flickr.</error>
</errors>
</rsp>