The following lists identify code samples available for the YouTube Analytics API and YouTube Reporting API. You can also download these samples from the GitHub repository.
Java
Bulk data reports (YouTube Reporting API)
- Create a reporting job (
reportTypes.list
,jobs.create
) - Retrieve reports (
jobs.list
,jobs.reports.list
)
JavaScript
Query reports (YouTube Analytics API)
PHP
Bulk data reports (YouTube Reporting API)
- Create a reporting job (
reportTypes.list
,jobs.create
) - Retrieve reports (
jobs.list
,jobs.reports.list
)
Python
Bulk data reports (YouTube Reporting API)
- Create a reporting job (
reportTypes.list
,jobs.create
) - Retrieve reports (
jobs.list
,jobs.reports.list
)