cURL
curl --request GET \ --url https://api.runeverse.tools/bmp/android/init \ --header 'X-Api-Key: <api-key>'
{ "device": { "hardware": "<string>", "manufacturer": "<string>", "model": "<string>", "release": "<string>", "brand": "<string>", "id": "<string>", "heightPixels": 123, "widthPixels": 123, "androidId": "<string>" }, "session": {} }
Creates session object and gets corresponding device object
Requires X-Api-Key header set
X-Api-Key
Note: Calling it drains 1 credit from your account, but first sensor call with received session will not drain any credits.
Successful operation
Object containing device information
Show child attributes
Object containing session state. Reuse it for a single session