APIMethods/1.2.1/events.getByUserPresent

TracNav

events.getByUserPresent

Retrieves all public events where the given user is present.

params

  • 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:

sort

Sorted by start date.

extra

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>