Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

'Toggl' object has no attribute 'getDetailedReportPages' #40

Description

@tomashornak

Hi.

I tried both versions 0.1.1 and 0.1.0 but on both I'm unable to call method getDetailedReportPages. But method getDetailedReport works fine. I can see it's in the code on github, so I'm not sure where the issue can be.

Example code:

from toggl.TogglPy import Toggl

def load_data_from_toggl(togglAPIkey, workspace_id, dateFrom, dateTo):
    toggl = Toggl()
    toggl.setAPIKey(togglAPIkey)

    params = {"workspace_id": workspace_id,
              "since": dateFrom,
              "until": dateTo,
              "page": 1,
              }

    report_json = toggl.getDetailedReportPages(params)

...

error:

AttributeError: 'Toggl' object has no attribute 'getDetailedReportPages'

Thanks

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