Create the TogglClientAPI with the settings:
Attempts to use get_workspaces throw KeyError: 'workspace_id'.
Seems to be caused by not providing a workspace_id even though it isn't used in get_workspaces and it isn't shown in the getting started material.
Is there a reason for this behaviour or can I submit a PR to change it?
I suggest making workspace_id None to start, then throwing an error if something attempts to use it.
I also don't see workspace_name used anywhere so I assume this is supposed to be workspace_id.
Create the TogglClientAPI with the settings:
Attempts to use get_workspaces throw KeyError: 'workspace_id'.
Seems to be caused by not providing a workspace_id even though it isn't used in get_workspaces and it isn't shown in the getting started material.
Is there a reason for this behaviour or can I submit a PR to change it?
I suggest making workspace_id None to start, then throwing an error if something attempts to use it.
I also don't see workspace_name used anywhere so I assume this is supposed to be workspace_id.