ServersMan logo

Personal Cloud in your Life

ServersMan API

ServersMan API release!

ServersMan M2M API ver. 0.1 is open to the public on a trial basis (API list)

These APIs enable ServersMan® equipped devices to use secure P2P communications, mashups, and to directly access the web using simple html and JavaScript. These functions allow users to easily develop applications utilizing P2P communication between iPhones and Androids, exchange of location information as well as games using motion sensors that previously required complex programs.

From ServersMan developer team

※Hot to use APIs

APIs response as JSON or XML format responses. Based on the returned value, mash up becomes possible with AJAX.

For example, the node name is “my-node” api name is “sn.location.getLocation”.
http://serversman.net/my-node/do?action=sn.location.getLocation

※Response
{"response":{"action":"sn.location.getLocation","provider":{ "id": 1,"type": "gps"},"coodinate": {"lat":"35.657585","lng":"139.695984","datetime": "2011-01-01T00:00:01GMT+09:00", "alt": null },"mestat": { status: 200}}}

API list

sn.file.getList

Get file list
http://serversman.net/my-node/do?action=sn.file.getList

sn.location.getLocation

Get geo-locaion
http://serversman.net/my-node/do?action=sn.location.getLocation

sn.device.getIP

Get Emotion Link IP address
http://serversman.net/my-node/do?action=sn.device.getIP

mobile.device.public_html

Get public_html settings
http://serversman.net/my-node/do?action=mobile.device.public_html

mobile.device.alertmessage

Send message
Added paramater :msg
http://serversman.net/my-node/do?action=mobile.device.alertmessage?msg=text

mobile.device.vibrate

Send Vibration
http://serversman.net/my-node/do?action=mobile.device.vibrate

sn.people.getProfile

Get TwitterID
http://serversman.net/my-node/do?action=sn.people.getProfile

sn.device.getStatus

Get now playing music information: (only iPhone)
http://serversman.net/my-node/do?action=sn.device.getStatus