pluralsight.reports package

Submodules

pluralsight.reports.client module

class pluralsight.reports.client.ReportsAPIClient(plan, api_key)[source]

Bases: object

Reports API client

download_course_completion_report(plan, path, start_date=None, end_date=None)[source]

Download the course completion report and store in a file

Parameters:
  • plan (str) – The plan name
  • path (str) – Path to the downloaded CSV
  • start_date (str) – (optional) Start date in format YYYY-MM-DD
  • end_date (str) – (optional) End date in format YYYY-MM-DD
download_course_usage_report(plan, path, start_date=None, end_date=None)[source]

Download the course usage report and store in a file

Parameters:
  • plan (str) – The plan name
  • path (str) – Path to the downloaded CSV
  • start_date (str) – (optional) Start date in format YYYY-MM-DD
  • end_date (str) – (optional) End date in format YYYY-MM-DD
download_user_report(plan, path)[source]

Download the user report and store in a file

Parameters:
  • plan (str) – The plan name
  • path (str) – Path to the downloaded CSV

Module contents