Hyves - Always in touch with your friends

Data-API

Methods

Retrieve a list of gadgets by gadgetid.

params

  • gadgetid --- Comma-separated list of gadgetids.
    • Required

responsefields

This method supports the use of ha_responsefields. Acceptable values are a comma separated list of 0 or more of the following:
  • commentscount
  • respectscount
  • fancylayouttag
  • viewscount
  • hasrespected

extra

  • Note that retrieving something by id always succeeds (as long as the id is valid), even if the visibility settings of the object do not allow viewing it. If some user is not allowed to view something, he/she will not get the id from another call.
  • examples

    example 1

    url
    https://data.hyves-api.nl/?gadgetid=007be156c4c2b2e2a6024e5b2cc951a3ff&ha_method=gadgets.get&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <gadgets_get_result>
    •   <gadget>
    •   <gadgetid>007be156c4c2b2e2a6024e5b2cc951a3ff</gadgetid>
    •   <title>Strange animals</title>
    •   <html>&lt;img src=&quot;http://i329.photobucket.com/albums/l366/XxHenn/thattachmentgif2.gif&quot; title=&quot;www.krabbelplaatjes.com&quot; alt=&quot;www.krabbelplaatjes.com&quot; border=&quot;0&quot;&gt;&lt;br&gt;&lt;img src=&quot;http://i277.photobucket.com/albums/kk66/krabbelss/krabbelplaatjes.gif&quot; title=&quot;www.krabbelplaatjes.com&quot;&gt;</html>
    •   <specurl/>
    •   <maycopy>true</maycopy>
    •   <userid>002c16b62877cf27484544fd0bc2c3dec9</userid>
    •   <url>http://homoapi.hyves.nl/widget/135127530/Strange_animals/G2AM/</url>
    •   <visibility>superpublic</visibility>
    •   </gadget>
    •   <info>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>18</running_milliseconds>
    •   <serverinfo>web1106_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </gadgets_get_result>

    example 2

    url
    https://data.hyves-api.nl/?gadgetid=007be156c4c2b2e2a6024e5b2cc951a3ff&ha_method=gadgets.get&ha_responsefields=commentscount%2Crespectscount%2Cfancylayouttag%2Cviewscount%2Chasrespected&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <gadgets_get_result>
    •   <gadget>
    •   <gadgetid>007be156c4c2b2e2a6024e5b2cc951a3ff</gadgetid>
    •   <title>Strange animals</title>
    •   <html>&lt;img src=&quot;http://i329.photobucket.com/albums/l366/XxHenn/thattachmentgif2.gif&quot; title=&quot;www.krabbelplaatjes.com&quot; alt=&quot;www.krabbelplaatjes.com&quot; border=&quot;0&quot;&gt;&lt;br&gt;&lt;img src=&quot;http://i277.photobucket.com/albums/kk66/krabbelss/krabbelplaatjes.gif&quot; title=&quot;www.krabbelplaatjes.com&quot;&gt;</html>
    •   <specurl/>
    •   <maycopy>true</maycopy>
    •   <userid>002c16b62877cf27484544fd0bc2c3dec9</userid>
    •   <url>http://homoapi.hyves.nl/widget/135127530/Strange_animals/G2AM/</url>
    •   <visibility>superpublic</visibility>
    •   <commentscount>24</commentscount>
    •   <respectscount>1</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <fancylayouttag>[gadget]&lt;img src=&quot;http://i329.photobucket.com/albums/l366/XxHenn/thattachmentgif2.gif&quot; title=&quot;www.krabbelplaatjes.com&quot; alt=&quot;www.krabbelplaatjes.com&quot; border=&quot;0&quot;&gt;&lt;br&gt;&lt;img src=&quot;http://i277.photobucket.com/albums/kk66/krabbelss/krabbelplaatjes.gif&quot; title=&quot;www.krabbelplaatjes.com&quot;&gt;[/gadget]</fancylayouttag>
    •   <viewscount/>
    •   </gadget>
    •   <info>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>24</running_milliseconds>
    •   <serverinfo>web1170_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </gadgets_get_result>

    Categories

    • gadgets

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden