Get user elements by tag

Api URL

Method

GET, POST

Response Type

xml (default), json

Parameters

  • type - Response type
  • pseudo - user pseudo (ex: pseudo=alienx)
  • ktype - Elements type (texts,images,videos), (default: texts)
  • tag - Tag search

Examples

Response

XML (text)

<root>
<api_key>public</api_key>
<api_time>1260201170</api_time>
<api_version>1.0</api_version>
<tag>lyon</tag>
<texts>
  <texts_count>3</texts_count>
  <texts_limit>20</texts_limit>
  <text>
    <id>2021</id>
    <domain>www.tribunedelyon.fr</domain>
    <kweeper_url>http://www.kweeper.com/kweeper/sentence/2021</kweeper_url>
    <referer>http://www.tribunedelyon.fr/index.php?actus/societe/17155-la-question-:-faut-il-prolonger-les-metros-jusqu-a-2-heures-du-matin-a-lyon-?</referer>
    <impression/>
    <text>je suis favorable au métro à deux heures du matin mais vous auriez pu éviter de faire défendre la cause par un extrémiste</text>
    <tags>metro,lyon,sondage</tags>
    <date>1256201981</date>
    <view>31</view>
  </text>
---
</texts>
<user_profil>
  <id>74</id>
  <pseudo>kweeper</pseudo>
  <name>kweeper team</name>
  <bio>Hey ! you reach te official kweeper team page. Enjoy !
For any request, send us an email at support [AT] kweeper [DOT] com</bio>
  <avatar>http://www.kweeper.com/avatars/74-kweeper.jpg</avatar>
  <url>http://www.kweeper.com</url>
  <followers>16</followers>
  <following>19</following>
  <elements_count>236</elements_count>
  <texts_count>105</texts_count>
  <images_count>55</images_count>
  <videos_count>76</videos_count>
  <created_account>1252287216</created_account>
  <type>user</type>
</user_profil>
</root>

XML (image)

<root>
<api_key>public</api_key>
<api_time>1260201170</api_time>
<api_version>1.0</api_version>
<tag>lyon</tag>
<images>
   <images_count>2</images_count>
   <images_limit>20</images_limit>
   <image>
     <id>2541</id>
     <domain>www.dezeen.com</domain>
     <kweeper_url>http://www.kweeper.com/kweeper/image/2541</kweeper_url>
     <referer>http://www.dezeen.com/2009/10/30/sofitel-lyon-bellecour-by-patrick-norguet/</referer>
     <title>Sofitel Lyon Bellecour by Patrick Norguet</title>
     <impression>le nouveau bar du sofitel</impression>
     <thumb_url>http://thumb.kweeper.net/09/10/30/5b0921ae224573cb74166361af0ca339_s.jpg</thumb_url>
     <tags>sofitel,lyon</tags>
     <date>1256918859</date>
     <view>21</view>
   </image>
---
</images>
<user_profil>
  <id>74</id>
  <pseudo>kweeper</pseudo>
  <name>kweeper team</name>
  <bio>Hey ! you reach te official kweeper team page. Enjoy !
For any request, send us an email at support [AT] kweeper [DOT] com</bio>
  <avatar>http://www.kweeper.com/avatars/74-kweeper.jpg</avatar>
  <url>http://www.kweeper.com</url>
  <followers>16</followers>
  <following>19</following>
  <elements_count>236</elements_count>
  <texts_count>105</texts_count>
  <images_count>55</images_count>
  <videos_count>76</videos_count>
  <created_account>1252287216</created_account>
  <type>user</type>
</user_profil>
</root>

XML (video)

<root>
<api_key>public</api_key>
<api_time>1260201170</api_time>
<api_version>1.0</api_version>
<tag>lyon</tag>
<videos>
    <videos_count>17</videos_count>
    <videos_limit>20</videos_limit>
    <video>
      <id>1767</id>
      <domain>www.giantstep.net</domain>
      <kweeper_url>http://www.kweeper.com/kweeper/video/1767</kweeper_url>
      <referer>http://www.giantstep.net/index.php/2009/10/new-alice-russell-video-let-us-be-loving/</referer>
      <title>New Alice Russell Video - "Let Us Be Loving"</title>
      <impression>nouveau signe de Alice Russell. looks et Couleurs des années 60...j'aime.</impression>
      <thumb_url>http://thumb.kweeper.net/09/10/16/e950c103c852c4a454fb2b578c777731_video.jpg</thumb_url>
      <tags>alice russell,soul,music</tags>
      <date>1255727354</date>
      <view>62</view>
    </video>
---
</videos>
<user_profil>
  <id>74</id>
  <pseudo>kweeper</pseudo>
  <name>kweeper team</name>
  <bio>Hey ! you reach te official kweeper team page. Enjoy !
For any request, send us an email at support [AT] kweeper [DOT] com</bio>
  <avatar>http://www.kweeper.com/avatars/74-kweeper.jpg</avatar>
  <url>http://www.kweeper.com</url>
  <followers>16</followers>
  <following>19</following>
  <elements_count>236</elements_count>
  <texts_count>105</texts_count>
  <images_count>55</images_count>
  <videos_count>76</videos_count>
  <created_account>1252287216</created_account>
  <type>user</type>
</user_profil>
</root>
 
api/users/tags.txt · Dernière modification: 2013/03/02 11:09 (édition externe)
 
© Tous droits réservés - http://www.kweeper.com - 2009 | Contact : support [AT] kweeper [DOT] com
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki