Closed ianhinder closed 5 years ago
Good day @ianhinder
Yes, the documentation is outdated. You should import the client using from toggl.api_client import TogglClientApi
.
We will update the documentation asap. Thank you
Hi - the workspace id error is actually not expected; it looks like the example needs to also be updated for this. I needed to add workspace_id to the dict, which is not present in the example.
I have installed python-toggl from the distribution tarball, but am unable to import the package using the example given on the homepage.
The output is
I am using Python 2.7.10 on Mac OS 10.14.2. The problem seems to be that the package is not called "toggl-python-api-client", but rather just "toggl". If I change it to "toggl", the package loads without problem.
and gives the expected error about the workspace ID.