Próbki kodu
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Poniżej znajdziesz przykładowe fragmenty kodu dostępne w interfejsach YouTube Analytics API i YouTube Reporting API. Możesz też pobrać te przykłady z repozytorium GitHub.
Java
Raporty zbiorcze (interfejs API YouTube do raportowania)
[null,null,["Ostatnia aktualizacja: 2026-09-15 UTC."],[],["Code samples for YouTube's Analytics and Reporting APIs are available on GitHub. For the Reporting API, Java, PHP, and Python samples demonstrate creating reporting jobs using `reportTypes.list` and `jobs.create`, and retrieving reports using `jobs.list` and `jobs.reports.list`. For the Analytics API, JavaScript and Python examples illustrate retrieving daily channel statistics via `reports.query`.\n"]]