APIMethods/1.2.1/events.getByUserPresent
TracNav
TracNav
Methods
Version 1.2.1
- albums.addMedia
- albums.create
- albums.get
- albums.getByGroup
- albums.getByHangout
- albums.getByUser
- albums.removeMedia
- auth.accesstoken
- auth.requesttoken
- auth.revoke
- auth.revokeAll
- auth.revokeSelf
- blogs.create
- blogs.createRespect
- blogs.get
- blogs.getByGroup
- blogs.getByHangout
- blogs.getByTag
- blogs.getByUser
- blogs.getComments
- blogs.getForFriends
- blogs.getPublic
- blogs.getRespects
- chat.getLoginToken
- cities.get
- countries.get
- events.addPresence
- events.get
- events.getByGroup
- events.getByHangout
- events.getByLoggedin
- events.getByUserPresent
- events.getPresence
- fancylayout.parse
- friends.get
- friends.getDistance
- friends.getIncomingInvitations
- friends.getOutgoingInvitations
- gadgets.create
- gadgets.createRespect
- gadgets.get
- gadgets.getByGroup
- gadgets.getByHangout
- gadgets.getByUser
- gadgets.getComments
- gadgets.getRespects
- groups.get
- groups.getByShortname
- groups.getByUser
- groups.getScraps
- groups.search
- hangouts.get
- hangouts.getByShortname
- hangouts.getByUser
- hangouts.getScraps
- hangouts.search
- listeners.create
- listeners.delete
- listeners.get
- listeners.getAll
- listeners.getByType
- media.addTag
- media.createRespect
- media.get
- media.getByAlbum
- media.getByLoggedin
- media.getByTag
- media.getComments
- media.getPublic
- media.getRespects
- media.getUploadToken
- media.updateGeolocation
- pings.get
- pings.getByTargetUser
- pings.getByUser
- privatespots.create
- privatespots.get
- privatespots.getByLoggedin
- regions.get
- tips.create
- tips.createRespect
- tips.get
- tips.getByHangout
- tips.getByUser
- tips.getCategories
- tips.getComments
- tips.getForFriends
- tips.getRespects
- users.createRespect
- users.get
- users.getByFriendLastlogin
- users.getByGroupLastlogin
- users.getByHangoutLastlogin
- users.getByUsername
- users.getFriendsByLoggedinSorted
- users.getLoggedin
- users.getRespects
- users.getScraps
- users.getSmileyCategories
- users.getSmileys
- users.getTestimonials
- users.search
- users.searchInFriends
- wwws.create
- wwws.createRespect
- wwws.get
- wwws.getByHangout
- wwws.getByUser
- wwws.getComments
- wwws.getForFriends
- wwws.getRespects
events.getByUserPresent
Retrieves all public events where the given user is present.
- Added: Oct 23, 2008
- <a href='http://hyves-developers.nl/documentation/data-api/pagination'>Paginated</a>
params
- <a href='http://hyves-developers.nl/returnvalues#userid'>userid</a> --- A single userid.
- Required
- infuture --- Select events only in the future.
- Optional
- Default: true
- Possible values:
- true --- true
- false --- false
responsefields
This method supports the use of <a href='http://hyves-developers.nl/documentation/data-api/global-ha-parameters'>ha_responsefields</a>. Acceptable values are a comma separated list of 0 or more of the following:
- <a href='http://hyves-developers.nl/returnvalues##viewscount'>viewscount</a>
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 <a href='http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/'>http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/</a>.
- 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
http://data.hyves-api.nl/?userid=ea5c247f9d076822&oauth_token=YXRfMTc3OTgyMDcyXzTnF9qTgpNvznHLQTuBPWQ%3D&infuture=false&ha_method=events.getByUserPresent&ha_resultsperpage=2&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117799&oauth_nonce=263337_719&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=LM13%2BHtphz1SWbHnBq4Ofn5hNmY%3D
result
<?xml version="1.0" encoding="UTF-8"?> <events_getByUserPresent_result> <event> <eventid>855ddb05fc7a0aae</eventid> <title>Hyves API beta</title> <body>Hyves API beta release.</body> <userid>3995a596ec57d9db</userid> <url>http://yme-bosma.hyves.nl/events/1270243/Hyves_API_beta/</url> <startdate>1199350800</startdate> <enddate>1199350800</enddate> <infuture>false</infuture> <usercount>16</usercount> <cityid/> <citytabid/> <visibility>hub</visibility> <created>1194453601</created> </event> <info> <timestamp_difference>0</timestamp_difference> <totalresults>1</totalresults> <totalpages>1</totalpages> <resultsperpage>2</resultsperpage> <currentpage>1</currentpage> <running_milliseconds>144</running_milliseconds> <secure_connection>false</secure_connection> </info> </events_getByUserPresent_result>
example 2
url
http://data.hyves-api.nl/?userid=ea5c247f9d076822&oauth_token=YXRfMTc3OTgyMDcyXzTnF9qTgpNvznHLQTuBPWQ%3D&infuture=false&ha_method=events.getByUserPresent&ha_resultsperpage=2&ha_responsefields=viewscount&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117799&oauth_nonce=361094_720&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=nF60Mr0Jq5dif%2FNi92RKcQrGbwU%3D
result
<?xml version="1.0" encoding="UTF-8"?> <events_getByUserPresent_result> <event> <eventid>855ddb05fc7a0aae</eventid> <title>Hyves API beta</title> <body>Hyves API beta release.</body> <userid>3995a596ec57d9db</userid> <url>http://yme-bosma.hyves.nl/events/1270243/Hyves_API_beta/</url> <startdate>1199350800</startdate> <enddate>1199350800</enddate> <infuture>false</infuture> <usercount>16</usercount> <cityid/> <citytabid/> <visibility>hub</visibility> <created>1194453601</created> <viewscount/> </event> <info> <timestamp_difference>1</timestamp_difference> <totalresults>1</totalresults> <totalpages>1</totalpages> <resultsperpage>2</resultsperpage> <currentpage>1</currentpage> <running_milliseconds>105</running_milliseconds> <secure_connection>false</secure_connection> </info> </events_getByUserPresent_result>
returnvalues
<a href='http://hyves-developers.nl/returnvalues#body'>body</a>, <a href='http://hyves-developers.nl/returnvalues#cityid'>cityid</a>, <a href='http://hyves-developers.nl/returnvalues#citytabid'>citytabid</a>, <a href='http://hyves-developers.nl/returnvalues#created'>created</a>, <a href='http://hyves-developers.nl/returnvalues#currentpage'>currentpage</a>, enddate, <a href='http://hyves-developers.nl/returnvalues#event'>event</a>, <a href='http://hyves-developers.nl/returnvalues#eventid'>eventid</a>, <a href='http://hyves-developers.nl/returnvalues#info'>info</a>, infuture, <a href='http://hyves-developers.nl/returnvalues#resultsperpage'>resultsperpage</a>, <a href='http://hyves-developers.nl/returnvalues#running_milliseconds'>running_milliseconds</a>, <a href='http://hyves-developers.nl/returnvalues#secure_connection'>secure_connection</a>, startdate, <a href='http://hyves-developers.nl/returnvalues#timestamp_difference'>timestamp_difference</a>, <a href='http://hyves-developers.nl/returnvalues#title'>title</a>, <a href='http://hyves-developers.nl/returnvalues#totalpages'>totalpages</a>, <a href='http://hyves-developers.nl/returnvalues#totalresults'>totalresults</a>, <a href='http://hyves-developers.nl/returnvalues#url'>url</a>, <a href='http://hyves-developers.nl/returnvalues#usercount'>usercount</a>, <a href='http://hyves-developers.nl/returnvalues#userid'>userid</a>, <a href='http://hyves-developers.nl/returnvalues#viewscount'>viewscount</a>, <a href='http://hyves-developers.nl/returnvalues#visibility'>visibility</a>
