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 namepath (
str
) – Path to the downloaded CSVstart_date (
str
) – (optional) Start date in format YYYY-MM-DDend_date (
str
) – (optional) End date in format YYYY-MM-DD
- Returns
The filename
- 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 namepath (
str
) – Path to the downloaded CSVstart_date (
str
) – (optional) Start date in format YYYY-MM-DDend_date (
str
) – (optional) End date in format YYYY-MM-DD
- Returns
The filename