by Marco Lettieri | Gate Method detail
Method description End point /getGateDetails Description Get detailed infos about a Gate Request method POST Bearer token Required Request RequestParam None RequestBody None Response A JSON representation of the Gate identified by an id Example Array Fields Field name Description Type id Gate identifier Long serial Gate serial number String label Gate label String local_ip [...]
by Marco Lettieri | Gate Method detail
Method description End point /getMyGates Description Get the list of all theĀ GateBEEs of the user identified by the Bearer Token Request method POST Bearer token Required Request RequestParam None RequestBody None Response A JSONArray representation of the user's Gates Example Array Fields Field name Description Type id Gate identifier Long serial Gate serial number String [...]
by Marco Lettieri | Android
The communication between server and client is managed with rest http. When you want invoke a specific method you can use : see also Create your Activity. Demo code Array
by Marco Lettieri | Android
This is how you must implement your activity, after connection you can send command or get information from microbees system. Demo code Array With this : Array You can see complete list of all REST API here.
by Marco Lettieri | Android
use the "Import Module..." function to include the mybees SDK After you've imported the module click on "Open Module Settings" and add dependencies from this module. Now in build.gradle add this dependencies: Array Open your strings.xml file. Example path: /app/src/main/res/values/strings.xml. Add a new string with the name microbees_clinet_id and value as your MicroBees Client ID [...]