import Mobilerun from '@mobilerun/sdk';const client = new Mobilerun({ apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted});const response = await client.devices.state.time('deviceId');console.log(response);
"<string>"
Misc
Device time
Returns the device’s current wall-clock time as an RFC 3339 timestamp.
GET
/
devices
/
{deviceId}
/
time
JavaScript
import Mobilerun from '@mobilerun/sdk';const client = new Mobilerun({ apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted});const response = await client.devices.state.time('deviceId');console.log(response);