Hyves - Always in touch with your friends

Data-API

Methods

Retrieve events of a hub.

  • Added: May 28, 2009
  • Paginated

params

  • hubid --- A single hubid.
    • Required
  • infuture --- Select events only in the future.
    • Optional
    • Default: true
    • Possible values:
      • true --- true
      • false --- false

responsefields

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

sort

Sorted by start date.

extra

  • This function may return more information if you supply a valid access token to oauth_token.
  • For more information on oAuth, see http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/.
  • 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/?hubid=00c84cdcb460087b804059d244cb79df31&infuture=false&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=events.getByHub&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"?>
    •  <events_getByHub_result>
    •   <info>
    •   <totalresults>0</totalresults>
    •   <totalpages>1</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>25</running_milliseconds>
    •   <serverinfo>web900_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </events_getByHub_result>

    example 2

    url
    https://data.hyves-api.nl/?hubid=00c84cdcb460087b804059d244cb79df31&infuture=false&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=events.getByHub&ha_resultsperpage=2&ha_responsefields=viewscount&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <events_getByHub_result>
    •   <info>
    •   <totalresults>0</totalresults>
    •   <totalpages>1</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>41</running_milliseconds>
    •   <serverinfo>web919_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </events_getByHub_result>

    Categories

    • events
    • hubs

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden