API Usage 2

×

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in location_map_link() (line 80 of /var/www/html/web/sites/all/modules/location/location.inc).

Use the Virtual Assistants Query Builder page to build your REST query:
http://traveltron.co/va

Then copy your query params to the API URL:
http://traveltron.co/api/va

JSON FORMAT:
http://traveltron.co/api/va.json

XML FORMAT:
http://traveltron.co/api/va.xml

EXAMPLES METHODS and QUERIES:

- Complex Queries

http://traveltron.co/api/va.json?nid=&language=en&character=Sasha&screen=Booking&phrase=Choose&items_per_page=1
http://traveltron.co/api/va.json?nid=&language=es&character=Sasha&screen=Home&phrase=&items_per_page=1
http://traveltron.co/api/va.json?language=en&screen=Home&phrase=Welcome%21

- Select by NodeID
http://traveltron.co/api/va?nid=4

- Select by Screen
http://traveltron.co/api/va?screen=Welcome

- Select by Character
http://traveltron.co/api/va?character=Sasha

- Select by Phrase
http://traveltron.co/api/va-help?phrase=Welcome%21

http://traveltron.co/api/va-help?phrase=How%20can%20I%20help%20you%3F

- Select by Language
http://traveltron.co/api/va?language=en
http://traveltron.co/api/va?language=es
http://traveltron.co/api/va?language=pt-br
http://traveltron.co/api/va?language=he

- Select by Language AND Screen
http://traveltron.co/api/va?language=en&screen=Home

EXAMPLE NODES:
http://traveltron.co/node/4