Skip to content

Fetching and saving state for multiple devices? #195

@victorhooi

Description

@victorhooi

I'm reading through the documentation here:

https://docs.mikealmel.ooo/FindMy.py/getstarted/02-fetching.html

and it mentions you can pass through a list containing multiple devices to account.fetch_location(), which will then optimise the request payload. This is pretty useful.

Just to clarify though - normally if you were passing a single device to account.fetch_location(), you could then call .to_json("path") afterwards, to persist it back to disk. However, in this case, if you use a list of devices - is the idea that you call .to_json("path") on each element in the list? And that will still work - as in, it will still figure out the right information back from the earlier account.fetch_location() call?

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