User Pageviews Pagination <sigh/>

rexj
Community Participant

Hi all,

I am an admin and Python novice. I am trying to create a script that will pull a user's pageviews within a date range and save that to a CSV file. To date, I have only be able to access the first page of results. I can't seem to get the script to navigate through subsequent pages.

I have seen posts with example script snippets (here, here, and here) but am having a difficult time implementing those strategies. I have attached two example files, one using the Requests module and one using the CanvasAPI module. 

Can someone please look at my scripts and point out what I am missing?

Thank you in advance for any assistance.

Labels (4)
0 Likes