Skip to content

How to iterate over query results? #46

@chrisspen

Description

@chrisspen

I'm trying to get a list of the top landing pages as described here but this documentation is incomplete. All the examples just return a query object but that doesn't actually contain any result data.

There's a brief mention on the Querying page that you need to call query.get() to actually retrieve results, or as the API calls it "generating the report". However, I can't find any documentation explaining what to do with this report object. Printing it shows:

<googleanalytics.query.Report object: Entrances, Bounces by Date,Landing Page

but attempting to iterate over it throws a NotImplementedError.

How do I get a list of all the top landing page URLs?

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