Retrieve all public events where the given user is present.
- Added: Oct 23, 2008
- Paginated
params
- userid --- A single userid.
- 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:
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
urlhttps://data.hyves-api.nl/?userid=008eef004422be85ab5b58414c5a8b7918&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&infuture=false&ha_method=events.getByUserPresent&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_getByUserPresent_result>
- <event>
- <eventid>00eeb26c68e883d8dd43a2a3eb8a28fec4</eventid>
- <title>Hyves API beta</title>
- <body>Hyves API beta release.</body>
- <userid>006f569da8eeb84d040c84db591a69e413</userid>
- <url>http://yme-bosma.hyves.nl/events/1270243/Hyves_API_beta/</url>
- <startdate>1199350800</startdate>
- <enddate>1199350800</enddate>
- <infuture>false</infuture>
- <usercount>18</usercount>
- <cityid/>
- <citytabid/>
- <visibility>hub</visibility>
- <created>1194453601</created>
- </event>
- <info>
- <totalresults>1</totalresults>
- <totalpages>1</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>19</running_milliseconds>
- <serverinfo>web1130_stable_93882_HPHP</serverinfo>
- </info>
- </events_getByUserPresent_result>
example 2
urlhttps://data.hyves-api.nl/?userid=008eef004422be85ab5b58414c5a8b7918&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&infuture=false&ha_method=events.getByUserPresent&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_getByUserPresent_result>
- <event>
- <eventid>00eeb26c68e883d8dd43a2a3eb8a28fec4</eventid>
- <title>Hyves API beta</title>
- <body>Hyves API beta release.</body>
- <userid>006f569da8eeb84d040c84db591a69e413</userid>
- <url>http://yme-bosma.hyves.nl/events/1270243/Hyves_API_beta/</url>
- <startdate>1199350800</startdate>
- <enddate>1199350800</enddate>
- <infuture>false</infuture>
- <usercount>18</usercount>
- <cityid/>
- <citytabid/>
- <visibility>hub</visibility>
- <created>1194453601</created>
- <viewscount/>
- </event>
- <info>
- <totalresults>1</totalresults>
- <totalpages>1</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>26</running_milliseconds>
- <serverinfo>web1166_stable_93882_HPHP</serverinfo>
- </info>
- </events_getByUserPresent_result>
returnvalues
- body,
- cityid,
- citytabid,
- created,
- currentpage,
- enddate,
- event,
- eventid,
- info,
- infuture,
- resultsperpage,
- running_milliseconds,
- secure_connection,
- serverinfo,
- startdate,
- title,
- totalpages,
- totalresults,
- url,
- usercount,
- userid,
- viewscount,
- visibility