Amiando EventSense(R) XML API

From Amiando Developer Wiki

(Redirected from EventSense)
Jump to: navigation, search

Contents

Description

Your users want to know which events they should attend? Get access to exclusive and highly targeted event content from the amiando event database.

amiando provides a REST interface to query either a list of events or a single event. This means that method calls are made over the internet by sending HTTP GET or POST requests to the amiando server. Nearly any computer language can be used to communicate over HTTP with the REST server.

Your account will have to be activated to use eventSense XML with live data. See "How to get started?" section below.

How to get started?

How to get started?

  1. Have a look at the technical specification on this site
  2. Contact us at dennis.ferenczy@amiando.com with some information about the project where you want to use eventSense
  3. Our team will send you information about how to activate eventSense for your site

List of Events

You will get the event list as an xml file by calling the following url:

http://www.amiando.com/rest/events

When you already have an amiando Partner Account add the parameter partnerKey followed by your shared secret key (displayed in your partner account):

http://www.amiando.com/rest/events?partnerKey=Your 40-digit shared secret key

Request Parameters

You can also add parameters to the initial request:

Example Request

http://www.amiando.com/rest/events?page=3&pageSize=30&country=DE&country=AT&type=EVENT_TYPE_OTHER&category=CATEGORY_OTHER

Example Request (Radius search with zip code and country)

http://www.amiando.com/rest/events?zipCode=94575&country=DE&radius=200000

Example Request (Radius search with longitude and latitude)

http://www.amiando.com/rest/events?latitude=48.651806&longitude=13.248825&radius=200000

Return XML Attributes

Example Return XML

<events
     currentPage="3"
     firstPage="0"
     lastPage="7"
     totalResults="237">
 <event>
   please see "single event"
 </event>
 ...
</events>

Single Event

You can also request the informations regarding only to a single event by calling the url:

http://www.amiando.com/rest/events/{identifier}

Return XML Parameters

Example Return XML

<event>
    <identifier>amiando_1</identifier>
    <id>75549825</id>
    <title>1 Jahr amiando Birthday-Bash</title>
    <selectedDate>2008-10-03T00:00:21</selectedDate>
    <url>http://de.amiando.com/amiando_1.html</url>
    <contact>
        <hostName>amiando AG</hostName>
        <infoEmail>contact@amiando.com</infoEmail>
        <infoTelephone>+498955273590</infoTelephone>
        <infoFax>+4989552735910</infoFax>
    </contact>
    <shortDescription>The 1 year birthday party of the amiando AG</shortDescription>
    <description>Dear friends and partners, we want to celebrate the
     birthday of amiando with you! There will be lots of beer and
     food, so please feel free to stop by! Yours, amiando AG
    </description>
    <location>
        <description>The Gallopprennbahn in Munich</description>
        <name>Galopprennbahn München</name>
        <street>Graf-Lehndorff-Straße 36</street>
        <city>München</city>
        <zipCode>81929</zipCode>
        <country>DE</country>
    </location>
    <mainImage>
        <url>http://de.amiando.com/eventxml/eventSenseImage.xml?eventId=75549825&width=240&height=180</url>
        <copyright>Copyright 2009 amiando AG</copyright>
    </mainImage>
    <lastModified>2008-10-03T00:00:21</lastModified>
    <status>STATUS_SELLING</status>
    <premium type="featured" />
</event>
Views
Personal tools