Skip to content

Have to get_devices before get_device #72

@majurgens

Description

@majurgens

In the example code from the "module ussage" in the readme the flow is 3 basic steps

  1. get session
  2. get all devices
  3. get info about one device

Step 3 uses the device id (eg abcdefg) from Step 2

I assumed that if I already knew the device id eg abcdefg, then I could skip Step 2 and just go straight to Step 3. This proves to be incorrect.

For some reason, you have to list the devices (Step 2) before getting the info from a device, even if you make exactly the same call with exactly the same parameter values at Step 3.

I was hoping that I could skip Step 2 to speed up the process.

Any ideas why Step 2 seems to be required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions