quantaq.endpoints.devices.Devices.add

Devices.add(**kwargs) dict

Add a new device.

Parameters
  • sn (str) – The device serial number

  • model (str) –

  • lat (float) – geo.latitude

  • lon (float) – geo.longitude

  • city (str) –

  • country (str) –

  • description (str) –

  • is_outdoors (bool) –

  • is_private (bool) –

  • device_state (str) –

  • timezone (str) –

Returns

Device information

Return type

dict