YouTube Video Categories
Video category is a field that we usually fill when we upload a video to determine the category of a video, among the list of valid and available categories on YouTube.
Video Categories request allows only a list method, which we will look into in this session.
List request returns a list of categories that can be associated with YouTube videos.
It has a quota cost of 1 per request.
API Documentation: https://developers.google.com/youtube/v3/docs/videoCategories
Sample Request and Response
Request
- HTTP Request: GET https://www.googleapis.com/youtube/v3/videoCategories
- Required Parameter to specify properties to include in the: part = snippet
- Required one of these parameters:
regionCode
,id
Response
- Check the video of this article to see what the response looks like.
POSTMAN Collection
The POSTMAN collection can be downloaded from the below GitHub repository.
Overall
We understood the YouTube Data API video categories request and have successfully executed it.