![]() |
Local (free) Access device from the local network |
![]() |
Global ($1) Access from anywhere on the internet |
GET /acceleration
include_gravity | Include gravity in the acceleration force | default="true" |
curl jquery
GET /camera
binary | Download the image in binary format (or in base 64 encoding) | default="true" |
front | Use the front camera | default="false" |
width | Width of the image | default="2048" |
exposure | Exposure compensation | default="0" |
curl jquery
GET /contacts
curl jquery
GET /files
path | Path of the directory or file | default="/" |
binary | Download the file in binary format (or in base 64 encoding) | default="true" |
curl jquery
GET /gravity
curl jquery
GET /gyroscope
curl jquery
GET /humidity
curl jquery
GET /light
curl jquery
GET /location
accuracy | Minimum accuracy in meters. | default="100" |
curl jquery
GET /magnetism
curl jquery
POST /notify
text | Text of the notification | default="Hello world!" |
title | Title of the notification | default="Hi" |
vibrate | Vibrate the phone | default="true" |
sound | Play a sound | default="true" |
curl jquery
POST /poll_init
id | A unique id for this poll | default="123456" |
title | Title | default="Please choose your pizza" |
text | Text | default="Choose before 11am, please pay Franco" |
options | JSON list of the lists of options and their titles | default="{"Pizza type":["Margerita","Hawaiian","BBQ Chicken","Veggie","Meat special","<custom>"],"size":["small","medium","large"]}" |
vibrate | Vibrate the phone | default="true" |
sound | Play a sound | default="true" |
curl jquery
GET /poll_result
id | The unique id of the poll | default="123456" |
curl jquery
GET /pressure
curl jquery
GET /proximity
curl jquery
GET /rotation
curl jquery
POST /speech
text | The text to speak | default="I'm sorry Dave, I'm afraid I can't do that." |
language | Language of the text | default="en" |
curl jquery
GET /temperature
curl jquery
POST /text
number | Telephone number | default="0032494060673" |
message | Text message | default="Hi Koen. Thanks for building this API!" |
curl jquery
GET /texts
curl jquery
POST /url
url | The url to open on the android device | default="http://www.youtube.com/watch?v=dQw4w9WgXcQ" |
curl jquery
POST /vibrate
duration | Duration of the vibration | default="500" |
curl jquery
GET /meta
curl jquery