Mẹo Hướng dẫn Youtube api category list Chi tiết Mới Nhất
Bạn đang tìm kiếm từ khóa Youtube api category list Chi tiết được Update vào lúc : 2022-11-30 19:02:00 . Với phương châm chia sẻ Kinh Nghiệm Hướng dẫn trong nội dung bài viết một cách Chi Tiết 2022. Nếu sau khi Read tài liệu vẫn ko hiểu thì hoàn toàn có thể lại phản hồi ở cuối bài để Admin lý giải và hướng dẫn lại nha.
Kinh Nghiệm về Youtube api category list Chi Tiết
Bạn đang tìm kiếm từ khóa Youtube api category list được Cập Nhật vào lúc : 2022-11-30 19:02:13 . Với phương châm chia sẻ Bí kíp Hướng dẫn trong nội dung nội dung bài viết một cách Chi Tiết Mới Nhất. Nếu sau khi tìm hiểu thêm tài liệu vẫn ko hiểu thì hoàn toàn hoàn toàn có thể lại Comment ở cuối bài để Mình lý giải và hướng dẫn lại nha.
YouTube API V3: Where can i find a list of each ‘videoCategoryId’?
I’m using the Youtube API V3 but can’t find documentation for how to filter by category:
Here’s my code:
$results = $youtube->search->listSearch(‘id,snippet’, array(
‘q’ => $_GET[‘q’],
‘maxResults’ => 20,
‘type’ => ‘video’
‘videoCategoryId’ => ‘what-do-i-put-here?’,
));
I’ve been going through their documentation for an hour and can’t seem to find any reference to how I find out what the various category’s ids are. In my case I’m looking for the videoCategoryId for music….
Video categories are region specific — that’s why the category list service requires either a category ID or a region, but not both. This endpoint:
://.googleapis/youtube/v3/videoCategories?part=snippet®ionCode=two-character-region&key=YOUR_API_KEY
will return all categories, along with their ids, for a given region. So as Ikai Lan pointed out in the comments, the ID for music is ’10’ in the US and, in fact, in all regions where this category is allowed; but there may be some regions where it isn’t allowed, or some regions that aren’t supported all.
Using YouTube API v3 video category id list by Dinesh Gowtham Prathap ://gist.github/dgp/1b24bf2961521bd75d6c
1 – Film & Animation
2 – Autos & Vehicles
10 – Music
15 – Pets & Animals
17 – Sports
18 – Short Movies
19 – Travel & Events
20 – Gaming
21 – Videoblogging
22 – People & Blogs
23 – Comedy
24 – Entertainment
25 – News & Politics
26 – Howto & Style
27 – Education
28 – Science & Technology
29 – Nonprofits & Activism
30 – Movies
31 – Anime/Animation
32 – Action/Adventure
33 – Classics
34 – Comedy
35 – Documentary
36 – Drama
37 – Family
38 – Foreign
39 – Horror
40 – Sci-Fi/Fantasy
41 – Thriller
42 – Shorts
43 – Shows
44 – Trailers
Reply
4
0
Chia sẻ
Chia Sẻ Link Download Youtube api category list miễn phí
Bạn vừa đọc Post Với Một số hướng dẫn một cách rõ ràng hơn về Video Youtube api category list tiên tiến và phát triển và tăng trưởng nhất và Share Link Cập nhật Youtube api category list miễn phí.
Giải đáp vướng mắc về Youtube api category list
Nếu sau khi đọc nội dung nội dung bài viết Youtube api category list vẫn chưa hiểu thì hoàn toàn hoàn toàn có thể lại Comments ở cuối bài để Mình lý giải và hướng dẫn lại nha
#Youtube #api #category #list
Video Youtube api category list Chi tiết ?
Bạn vừa tìm hiểu thêm nội dung bài viết Với Một số hướng dẫn một cách rõ ràng hơn về Video Youtube api category list Chi tiết tiên tiến và phát triển nhất
Chia Sẻ Link Download Youtube api category list Chi tiết miễn phí
Quý khách đang tìm một số trong những Share Link Down Youtube api category list Chi tiết Free.
Thảo Luận vướng mắc về Youtube api category list Chi tiết
Nếu sau khi đọc nội dung bài viết Youtube api category list Chi tiết vẫn chưa hiểu thì hoàn toàn có thể lại phản hồi ở cuối bài để Ad lý giải và hướng dẫn lại nha
#Youtube #api #category #list #Chi #tiết