Theme Web Service 2.0
Info
Remark: This is a RouteYou+ service. Please contact sales[at-r.] if you want to make use of this service and you don't have yet an agreement with RouteYou.
- Service name: Theme
- Version: 2.0
Technical
The web service is accessible using:
XML-RPC: Info on how to use- JSONP: Info on how to use
- JSON-RPC: Info on how to use
Overview of provided functions
get
Get information of one or multiple themes by id
Input
- id(s) (Integer|Array(Integer)): get the theme(s) with the given id(s)
- language (String|Null): language in iso2
Output
- theme(s) (Object|Struct(Object)): if the input is just one id, an object is returned. If the input is an array, an array with the ids as key and the objects as value is returned.
search
Get the themes that meet the conditions
Input
- conditions(s) (Struct|null): the conditions the themes has to meet.
Possible keys:- importance.min: float between 0 and 1
- importance.max: float between 0 and 1
- routeSuitable: boolean
- poiSuitable: boolean
- keywords: words separated by spaces
- name: words separated by spaces
- sorting (String|Array): determines the order of the themes. When there are multiple sorting criteria, an array is necessary.
Possible sortings:- id [ASC|DESC]
- limit (Integer): maximum number of themes returned
- offset (Integer): number of themes to skip
Output
- theme(s) (Array(Object)): an array of themes in de passed order is returned