Members
(constant) LIST_MAX_SIZE
Search events by longitude, latitude, radius, start- and end-date. Order by startdate. Get a list of up to 100 items.
Methods
api(route)
Calls the api
Parameters:
Name | Type | Description |
---|---|---|
route |
string | parameters in addition to the base url |
- Source:
getById(id)
Show event data for a single event
Parameters:
Name | Type | Description |
---|---|---|
id |
string | KultunautEventId |
getByIds(ids)
Show events data for a list of event id's
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<string> | List of KultunautEventIds |
listByLocation(lat, lon, viewed)
Search events by longitude and latitude, order by distance, startdate:
The lenght is dynamic, either it is shorter than 2 x FEED_DEFAULT_LENGTH
Parameters:
Name | Type | Description |
---|---|---|
lat |
string | Latitude |
lon |
string | Longitude |
viewed |
Array.<string> | KultunautEventId list of the already viewed items |
setCredentials(route)
Calls the user api
Parameters:
Name | Type | Description |
---|---|---|
route |
id | Takes a userid and sends this user id to kultuant and stores it in this api service db |
- Source: