IZUM Google AdServices
API Izum - IZUM gsm gps smart device for tracking control spaces security sportsIZUM gsm gps smart device for tracking control spaces security sports
Izum’s API is a RESTful based web service, available at http://api.izum.io. In order to use the API you will need to have an Izum account, sign in on our web app (http://app.izum.io), go to your profile and create na API key.
This key will be used to authenticate with the service so you can get a temporary session token that will allow you to execute all other methods.

 

Authentication

In order to authenticate with the service, you will need to call the following endpoint:
/auth
HTTP Verb: POST
Input Parameters (JSON format in Request Payload):

  • • username
  • • apiKey

Example:

{
"username": "hello@izum.io",
"apiKey" : "Th8bcehNzvgVzfGl2gKdK8nxUf0tpqcGIAXEl9FS”
}

This method, like all others, will return a response also in JSON format, that will include a success or error indicator and a session token. This session token will be used to invoke all remaining methods and will expire after two hours.
When the session token expires you will need to call the authentication method again to retrieve a new session token.
Registering your own device type

 

Besides your own device type

Besides working with Izum devices, the Izum structure can also support other types of devices, such as smartphones or other IoT devices. If you wish to add a new device type and specific types of sensors to our list, please contact us at hello@izum.io. If approved, you will receive a device type ID and sensor ID that you will be able to use to feed data to our platform.

Invoking Methods

Methods can be invoked in two ways: you will either pass input parameters as a JSON request payload, just like in the /auth method above (for HTTP verbs such as POST or PUT), or input parameters can simple be passed as part of the URL (for HTTPS verbs such as GET or DELETE).

With the exception of the authentication method, all methods will always need at least the username and session key as input.

The response for all methods will always be in JSON format, and will include an output parameter indicating whether the call was successful or not. This parameters is called “code” and will return 1 for a successful operation, and 0 if some sort of error occurred.

The URL for all method is the base API URL http://api.izum.io, followed by the endpoint of each method. Example: http://api.izum.io/device/listall.

Method List

AUTHENTICATION

/signupapp

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string password (not required)
  • • string passwordhash (not required)
  • • string passwordsalt (not required)
  • • string idMobileType (not required)
  • • string deviceToken (not required)

Description: Create user and returns APY Key

/auth

HTTP Verb: POST
Input Parameters:
  • • username
  • • apikey

Description: Returns session key

/loginapp

HTTP Verb: POST
Input Parameters:
  • • username
  • • password
  • • idMobileType (not required)
  • • deviceToken (not required)

Description: Returns 1 - Success, 0 Unsuccessful

/logoutapp

HTTP Verb: POST
Input Parameters:
  • • username
  • • idMobileType (1 - Apple; 2 - Google)
  • • deviceToken (not required)

Description: Returns 1 - Success, 0 - Unsuccessful

GPS

/zone

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • int deviceID
  • • double latitude
  • • double longitude
  • • double radius
  • • string description (not required)
  • • bool alert_in (not required)
  • • bool alert_out (not required)

Description:Create zone. Code 1 - zone created, zoneID - Zone ID

/zone/{zoneID}?username={username}&session={session}&deviceID={deviceID}

HTTP Verb: DELETE
Input Parameters:
  • • string username
  • • string session
  • • string zoneID
  • • int deviceID

Description: Delete zone

/zone/{zoneID}/update

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string zoneID
  • • int deviceID
  • • double latitude
  • • double longitude
  • • double radius
  • • string description (not required)
  • • bool alert_in
  • • bool alert_out
  • • string date
  • • bool localtime (not required)

Description: Update zone. Code 1 - zone updated, zoneID - Zone ID

/zone/{zoneID}/check?username={username}&session={session}&lat={latitude}&lng={longitude}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string zoneID
  • • double latitude
  • • double longitude

Description:Check if zone is in alert. Code - 1 successful response, alert true is in alert, false is not alert.

/zones/{deviceID}?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • int deviceID

Description: JSON List of Zones

/account/alert/check

HTTP Verb: GET
Input Parameters:
  • • username
  • • session

Description: Returns whether the current account has a device in an alert state or not

/account/alert/list

HTTP Verb: GET
Input Parameters:
  • • username
  • • session

Description: JSON list of current alerts in all of the user's devices

/account/alert/listv2

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • sensorID (optional)
  • • deviceID (optional)
  • • history (boolean, optional)

Description: List the current alerts, optionally for a particular sensor, across one or multiple devices. Can also display history including readings that are not alerts.

DEVICE

/device/{deviceID}?username={username}&session={session}&password={password}

HTTP Verb: DELETE
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string password (optional)

Description: Delete device from your IZUM account.

/device/{deviceID}/batteryValue

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string value (0-100%)
  • • string state (optional)

Description: Input device battery state (for non-IZUM devices)

/device/{deviceID}/calibrateProximity

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • tolerance (0-100%)

Description: Sets proximity sensor based on last values read from that specific sensor. Minimum value will be last value minus tolerance, maximum will be last value plus tolerance.

/device/{deviceID}/check?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Checks if the device is in an alert state or not.

/device/{deviceID}/delayPush

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string sensorID (optional)
  • • string minutes (optional, default 15)

Description: Executing this method will prevent push notifications from being sent for respective account and device. Optionally push notifications can be temporarily disabled for one sensor only.

/device/{deviceID}/DND/add

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • weekdays days
  • • string start_time
  • • string end_time
  • • string start_time_hours
  • • string start_time_minutes
  • • string end_time_hours
  • • string end_time_minutes

Description: Adds do not disturb period for the device that will be applied from start_time to end_time for the chosen days (IZUM devices only).

/device/{deviceID}/DND/list?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Lists do not disturb periods for chosen device (IZUM devices only).

/device/{deviceID}/DND/remove

HTTP Verb: DELETE
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • password
  • • muteID
  • • unmuteID

Description: Removes do not disturb period for the device with muteID and unmuteID (IZUM devices only).

/device/{deviceID}/DND/update

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • weekdays days
  • • string muteID
  • • string unmuteID
  • • string start_time
  • • string end_time
  • • string start_time_hours
  • • string start_time_minutes
  • • string end_time_hours
  • • string end_time_minutes

Description: Updates do not disturb period for the device based on muteID and unmuteID that will be applied from start_time to end_time for the chosen days (IZUM devices only).

/device/{deviceID}/history?username={username}&session={session}&sensorID={sensorID}&limit={limit}&dateStart={dateStart}&dateEnd={dateEnd}&firsttolast={firsttolast}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string limit (optional)
  • • string dateStart (optional)
  • • string dateEnd (optional)
  • • string firsttolast (optional, boolean)
  • • string sensorID (optional)

Description: Lists the history of sensor readings according to filters given as input.

/device/{deviceID}/load?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Loads the device’s sensors and settings.

/device/{deviceID}/loadSensor?username={username}&session={session}&sensorID={sensorID}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string sensorID

Description: Loads the device’s sensor settings.

/device/{deviceID}/off

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Sends message to turn off device (IZUM devices only).

/device/{deviceID}/off-pw

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string password

Description: Code 1 if the request to turn off the device was successfully sent, Code 0 if otherwise.

/device/{deviceID}/on

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Sends message to turn on device (IZUM devices only).

/device/{deviceID}/togglePush

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID

Description: Switches whether push notifications are being sent from the device or not.

/device/{deviceID}/togglePushSensor

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • sensorID

Description: Switches whether push notifications are being sent from the device’s selected sensor or not.

/device/{deviceID}/schedule/add

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • weekdays days
    o sunday – true/false
    o monday – true/false
    o tuesday – true/false
    o wednesday – true/false
    o thursday – true/false
    o friday – true/false
    o saturday – true/false
  • • string start_time
  • • string end_time
  • • string start_time_hours (optional – start_time can be used instead)
  • • string start_time_minutes (optional – start_time can be used instead)
  • • string end_time_hours (optional – end_time can be used instead)
  • • string end_time_minutes (optional – end_time can be used instead)

Description: Adds operating schedule for the device that will be applied from start_time to end_time for the chosen days (IZUM devices only).

/device/{deviceID}/schedule/list?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Lists operating schedules for chosen device (IZUM devices only).

/device/{deviceID}/schedule/remove?username={username}&session={session}&action={actionID}&password={password}&activateID={activateID}&deactivated={deactivateID}

HTTP Verb: DELETE
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string password
  • • string activateID
  • • string deactivateID

Description: Removes operating schedule for the device with activateID and deactivateID (IZUM devices only).

/device/{deviceID}/schedule/update

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • weekdays days
    o sunday – true/false
    o monday – true/false
    o tuesday – true/false
    o wednesday – true/false
    o thursday – true/false
    o friday – true/false
    o saturday – true/false
  • • string activateID
  • • string deactivateID
  • • string start_time
  • • string end_time
  • • string start_time_hours (optional – start_time can be used instead)
  • • string start_time_minutes (optional – start_time can be used instead)
  • • string end_time_hours (optional – end_time can be used instead)
  • • string end_time_minutes (optional – end_time can be used instead)

Description: Updates operating schedule for the device based on activateID and deactivateID that will be applied from start_time to end_time for the chosen days (IZUM devices only).

/device/{deviceID}/sensor/read?username={username}&session={session}&sensorID={sensorID}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string sensorID

Description: Get latest value read from respective sensor of respective device.

/device/{deviceID}/sensor/sensorAlertMessage

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • sensorID
  • • message
  • • type

Description: Sets alert message for chosen sensor and device, type will define if the message is generic, for minimum threshold of maximum threshold, functionality will depend on the sensor.

/device/{deviceID}/sensor/sensorSet

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • idtype
  • • active
  • • periodicity (optional)
  • • alertactive (optional, boolean)
  • • minvalue
  • • maxvalue
  • • alertLed (optional, boolean)
  • • alertPush (optional, boolean)
  • • alertMessage (optional)
  • • alertMessageLow (optional)
  • • alertMessageHigh (optional)

Description: Sets all options for sensor configuration, idtype is equivalent to sensorID in other methods.

/device/{deviceID}/sensor/sensorValue

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • idtype
  • • value
  • • alert (optional, boolean)
  • • message (optional)

Description: For non Izum devices, sends values read by sensor to our platform, allowing to indicate if it’s an alert and what message it should give to the user.

/device/create

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • idDeviceType
  • • serialnumber
  • • name
  • • idTimeZone (optional)

Description: Inserts non IZUM device in database, serialnumber should be unique identifier and device type should be the ID provided by us after contacting us to allow for new types to work with our platform.

/device/getID?username={username}&session={session}&serial={serial}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string serial

Description: Get Device ID based on serial number.

/device/list?username={username}&session={session}&type={devicetype}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • int devicetype (optional)

Description: Get list of user’s devices.

/device/listall?username={username}&session={session}&type={devicetype}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • int devicetype (optional)

Description: Get list of user’s devices, including devices user was invited to monitor only

/device/listlimited?username={username}&session={session}&type={devicetype}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string devicetype (optional)

Description: Get list of device user is monitoring as a guest only.

/device/update

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • idDeviceType
  • • serialnumber
  • • name
  • • idTimeZone (optional)
  • • realtime (optional, boolean)

Description: Updates device, allowing to set device to communicate in real time, for IZUM devices only.

/home

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • deviceID (optional)

Description: Get dashboard status either for user account of just a specific device.

/location/{deviceID}

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • lnglat (optional, boolean) – allows usage of Latitude Longitude format or Longitude, Latitude format.

Description: GeoJSON Feature containing last known location of the device.

/location/{deviceID}/sensorValue

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • latitude
  • • longitude
  • • altitude (optional)
  • • hor_accuracy (optional)
  • • vert_accuracy (optional)
  • • bearing (optional)
  • • speed (optional)

Description: For non Izum devices, sends values read by location sensor to our platform.

/locations/{deviceID}

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • limit
  • • lnglat (optional, boolean) – allows usage of Latitude Longitude format or Longitude, Latitude format.

Description: GeoJSON Feature collection containing last <limit> locations of the device.

/tables/sensortype

HTTP Verb: GET
Input Parameters:
  • • username
  • • session

Description: Lists sensor types in our database, to use for sensorID or idtype parameters.

/tables/timezone

HTTP Verb: GET
Input Parameters:
  • • username
  • • session

Description: Lists time zones available in our database.

/zone

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • latitude
  • • longitude
  • • radius
  • • description (optional)
  • • alert_in (boolean)
  • • alert_out (boolean)

Description: Creates geofence zone associated with device

/zone/{zoneID}

HTTP Verb: DELETE
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • zoneID

Description: Delete zone from your device.

/zone/{zoneID}/check

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • zoneID
  • • latitude
  • • longitude

Description: Verifies whether given positions should cause an alert for selected zone

/zone/{zoneID}/update

HTTP Verb: POST
Input Parameters:
  • • username
  • • session
  • • deviceID
  • • zoneID
  • • latitude
  • • longitude
  • • radius
  • • description (optional)
  • • alert_in (boolean)
  • • alert_out (boolean)

Description: Updates zone’s data.

/zones/{deviceID}

HTTP Verb: GET
Input Parameters:
  • • username
  • • session
  • • deviceID

Description: Lists geofence zones associated with device.

Additional Information

Weekdays is a data type that should be provided in the following format:
{
  • “monday”: true|false,
  • “tuesday”: true|false,
  • “wednesday”: true|false,
  • “thursday”: true|false,
  • “friday”: true|false,
  • “saturday”: true|false,
  • “saturday”: true|false,

}

/device/{DeviceID}/sensorSet

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • int idtype
  • • bool active
  • • int periodicity (not required)
  • • bool alertactive (not required)
  • • double minvalue (not required)
  • • double maxvalue (not required)
  • • bool alertLed (not required)
  • • bool alertPush (not required)
  • • string alertMessage (not required)
  • • string alertMessageLow (not required)
  • • string alertMessageHigh (not required)

Description:Returns whether the sensor update was successful. Code 1 success, Code 0 error. Description returns the error when code is 0.

/device/{deviceID}/sensorAlertMessage

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string sensorID
  • • string message
  • • string type (not required)
    o “low” – Below Value Event
    o “high” – Above Value Event

Description:Code 1 means the insert was successfully executed. Code 0 returns an error.

/device/{DeviceID}/sensorValue

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • int idtype
  • • string value
  • • bool alert (not required)
  • • string message (not required)

Description:Returns whether the data insert was successful. code 1 - success, code 0 - error. Description returns the error that occurred in case code is 0.

/device/{deviceID}/schedule/visible

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string actionID
  • • string activateID
  • • string deactivateID

Description:Toggle Whether this particular schedule is active or inactive

/device/{deviceID}/schedule/send

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Send schedule to device

/device/{serialnumber}/call?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string serialnumber

Description:Call device

/device/{serialnumber}/checkcomm

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string serialnumber

Description: Check if device has communicated

/device/{serialnumber}/factory?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string serialnumber

Description: Get Device Factory Data

/device/{deviceID}/visible

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Toggle dashboard visibility for this device

/device/{deviceID}/push

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Toggle push notifications for this device

/device/{deviceID}/pushSensor

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string sensorID

Description: Toggle push notifications for a particular sensor in device

/device/{deviceID}/sendInvite

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string name
  • • string email

Description: Send invite to monitor device

/device/{deviceID}/reset?username={username}&session={session}&password={password}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string password

Description: Reset Device to Factory Defaults

/device/{deviceID}/restart?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Force device restart

/device/{deviceID}/calibrateProximity

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string tolerance

Description: Calibrate proximity sensor based on last read value

/device/{devicename}/pushDetail?username={username}&session={session}&datetime={datetime}&message={message}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string datetime
  • • string devicename
  • • string message

Description: Force device restart

/push/{pushID}/share

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string pushID
  • • string email
  • • string deviceID

Description: Shares the push notification given by pushID by email

/updateapp

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string oldToken
  • • string newToken
  • • string idMobileType

Description: Update device token for push notifications

/device/{deviceID}/travel/list?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: List Travel events

/device/{deviceID}/travel/add

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string date
  • • string start_time
  • • string start_time_hours
  • • string start_time_minutes
  • • int duration (not required)
  • • bool activate

Description: Insert Event for Travel

/device/{deviceID}/travel/remove?username={username}&session={session}&event={eventID}&password={password}

HTTP Verb: DELETE
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string eventID
  • • string password

Description: Delete travel event

/homeMap?username={username}&session={session}&deviceID={deviceID}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string deviceID

Description: Load Dashboard Map

/user/timezone

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string idTimeZone

Description: Update user timezone

/device/{deviceID}/connections?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Get Device list of active app connections

/device/{deviceID}/strava

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string deviceID
  • • string trackID
  • • string date

Description: Send track to Strava

/device/{deviceID}/connections/strava?username={username}&session={session}

HTTP Verb: DELETE
Input Parameters:
  • • string username
  • • string session

Description: Delete Strava connection

/device/{devicename}/trackDetail?username={username}&session={session}&datetime={datetime}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string datetime
  • • string devicename

Description: Returns info for track push notification detail

/device/{deviceID}/tracks?username={username}&session={session}&date={date}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session
  • • string date

Description: Get tracks

USER

/User/getLogoUrl?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Get User Logo Url

/User/getName?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Get user's name

/user/load?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Load user data, including username, name, interests, occupation, about user and website

/user/profile

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string name (not required)
  • • string about (not required)
  • • string interest (not required)
  • • string occupation (not required)
  • • string website (not required)
  • • int idTimeZone (allow null)
  • • int idCountry (allow null)
  • • string street (not required)
  • • string postalcode (not required)
  • • string city (not required)

Description: Update user profile

/User/password

HTTP Verb: POST
Input Parameters:
  • • string username
  • • string session
  • • string password
  • • string passwordhash
  • • string passwordsalt

Description: Update password

/user/forgotpw

HTTP Verb: POST
Input Parameters:
  • • string username

Description: Change password and send it to user's email.

TABLES

/tables/timezone?username={username}&session={session}

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Timezone List

/tables/country

HTTP Verb: GET
Input Parameters:
  • • string username
  • • string session

Description: Lists countries in our database.

Additional Information

There is a special sensor ID type for battery (99), other sensor types include:
{
  • 1. Light
  • 2. Temperature
  • 3. Humidity
  • 4. Proximity
  • 5. Accelerometer
  • 6. Gyroscope
  • 7. Location (GPS)
  • 8. Movement
  • 9. Magnetic

}