Hyves - Always in touch with your friends

Data-API

Methods

Retrieve public blogs. Sorttype defines the sort.

  • Added: Sept 11, 2008
  • Paginated

params

  • sorttype --- The sorttype.
    • Required
    • Possible values:
      • featured --- Sort by featured.
      • mostview --- Sort by most views.
      • mostrecent --- Sort by most recent.
      • mostreaction --- Sort by most reactions.
      • mostrespect --- Sort by most respects.
  • timespan --- The timespan to select from.
    • Optional
    • Default: One week.
    • Possible values:
      • day --- One day.
      • week --- One week.
      • month --- One month.
      • forever --- Forever (alltime).

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
  • tags
  • geolocation
  • viewscount
  • hasrespected

sort

Custom sort, see description.

examples

example 1

url
https://data.hyves-api.nl/?sorttype=mostreaction×pan=month&ha_method=blogs.getPublic&ha_resultsperpage=2&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

result
  •  <?xml version="1.0" encoding="UTF-8"?>
  •  <blogs_getPublic_result>
  •   <blog>
  •   <blogid>004588defd438562e38b1f15f6eaf6bc56</blogid>
  •   <title>tellen tot de 1000</title>
  •   <body>okeej je moet tot de duizend tellen
  •   je mag niet tweekeer 8er elkaar doen als je dat wel doet wordt hij verwijdert
  •   [strike]50[/strike]
  •   [strike]100[/strike]
  •   [strike]200[/strike]
  •   [strike]300[/strike]
  •   400
  •   500
  •   600
  •   700
  •   800
  •   900
  •   [b][i]1000[/i][/b]
  •   houdoe</body>
  •   <userid>001709a681492c2944394522e27eeefc30</userid>
  •   <url>http://samm312.hyves.nl/blog/45545516/tellen_tot_de_1000/-RtZ/</url>
  •   <visibility>superpublic</visibility>
  •   <created>1310652087</created>
  •   </blog>
  •   <blog>
  •   <blogid>000723a3f8e939e90a660ee51588935d08</blogid>
  •   <title>Maak het verhaal af:heartbounce:</title>
  •   <body>Er was eens in een ver land genaamd vernadolaniĆ« een...</body>
  •   <userid>00efc62336339d6c772176ccaedcdff16f</userid>
  •   <url>http://tessavoorhuis.hyves.nl/blog/45523316/Maak_het_verhaal_af_heartbounce/OaYG/</url>
  •   <visibility>superpublic</visibility>
  •   <created>1310555713</created>
  •   </blog>
  •   <info>
  •   <totalresults>150</totalresults>
  •   <totalpages>75</totalpages>
  •   <resultsperpage>2</resultsperpage>
  •   <currentpage>1</currentpage>
  •   <secure_connection>true</secure_connection>
  •   <running_milliseconds>27</running_milliseconds>
  •   <serverinfo>web879_stable_93882_HPHP</serverinfo>
  •   </info>
  •   </blogs_getPublic_result>

example 2

url
https://data.hyves-api.nl/?sorttype=mostreaction×pan=month&ha_method=blogs.getPublic&ha_resultsperpage=2&ha_responsefields=commentscount%2Crespectscount%2Ctags%2Cgeolocation%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"?>
  •  <blogs_getPublic_result>
  •   <blog>
  •   <blogid>004588defd438562e38b1f15f6eaf6bc56</blogid>
  •   <title>tellen tot de 1000</title>
  •   <body>okeej je moet tot de duizend tellen
  •   je mag niet tweekeer 8er elkaar doen als je dat wel doet wordt hij verwijdert
  •   [strike]50[/strike]
  •   [strike]100[/strike]
  •   [strike]200[/strike]
  •   [strike]300[/strike]
  •   400
  •   500
  •   600
  •   700
  •   800
  •   900
  •   [b][i]1000[/i][/b]
  •   houdoe</body>
  •   <userid>001709a681492c2944394522e27eeefc30</userid>
  •   <url>http://samm312.hyves.nl/blog/45545516/tellen_tot_de_1000/-RtZ/</url>
  •   <visibility>superpublic</visibility>
  •   <created>1310652087</created>
  •   <commentscount>390</commentscount>
  •   <respectscount>11</respectscount>
  •   <hasrespected>false</hasrespected>
  •   <tags/>
  •   <viewscount/>
  •   <geolocation/>
  •   </blog>
  •   <blog>
  •   <blogid>000723a3f8e939e90a660ee51588935d08</blogid>
  •   <title>Maak het verhaal af:heartbounce:</title>
  •   <body>Er was eens in een ver land genaamd vernadolaniĆ« een...</body>
  •   <userid>00efc62336339d6c772176ccaedcdff16f</userid>
  •   <url>http://tessavoorhuis.hyves.nl/blog/45523316/Maak_het_verhaal_af_heartbounce/OaYG/</url>
  •   <visibility>superpublic</visibility>
  •   <created>1310555713</created>
  •   <commentscount>291</commentscount>
  •   <respectscount>11</respectscount>
  •   <hasrespected>false</hasrespected>
  •   <tags/>
  •   <viewscount/>
  •   <geolocation/>
  •   </blog>
  •   <info>
  •   <totalresults>150</totalresults>
  •   <totalpages>75</totalpages>
  •   <resultsperpage>2</resultsperpage>
  •   <currentpage>1</currentpage>
  •   <secure_connection>true</secure_connection>
  •   <running_milliseconds>27</running_milliseconds>
  •   <serverinfo>web1110_stable_93882_HPHP</serverinfo>
  •   </info>
  •   </blogs_getPublic_result>

Categories

  • blogs

© 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

Aanmelden