GuideCategories
หมายเหตุ: นี่เป็นประกาศการเลิกใช้งาน
เราได้เลิกใช้งานทั้งแหล่งข้อมูล guideCategories
และเมธอด guideCategories.list
แล้วตั้งแต่วันที่ 9 กันยายน 2020
ทรัพยากร guideCategory
จะระบุหมวดหมู่ที่อัลกอริทึมของ YouTube กำหนดให้ช่องโดยอิงตามเนื้อหาของช่องหรือตัวบ่งชี้อื่นๆ เช่น ความนิยมของช่อง รายการนี้คล้ายกับหมวดหมู่วิดีโอ แต่ต่างกันตรงที่ผู้อัปโหลดวิดีโอสามารถกำหนดหมวดหมู่วิดีโอได้ แต่มีเพียง YouTube เท่านั้นที่กำหนดหมวดหมู่ช่องได้
เมธอด
API รองรับวิธีการต่อไปนี้สำหรับทรัพยากร guideCategories
- list
- แสดงรายการหมวดหมู่ที่เชื่อมโยงกับช่อง YouTube ได้
ลองใช้เลย
การนําเสนอทรัพยากร
โครงสร้าง JSON ด้านล่างแสดงรูปแบบของทรัพยากร guideCategories
{
"kind": "youtube#guideCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string
}
}
พร็อพเพอร์ตี้
ตารางต่อไปนี้จะกำหนดพร็อพเพอร์ตี้ที่ปรากฏในทรัพยากรนี้
พร็อพเพอร์ตี้ |
kind |
string
ระบุประเภทของทรัพยากร API ค่าจะเป็น youtube#guideCategory |
etag |
etag
Etag ของทรัพยากรนี้ |
id |
string
รหัสที่ YouTube ใช้เพื่อระบุหมวดหมู่คำแนะนำที่ไม่ซ้ำกัน |
snippet |
object
ออบเจ็กต์ snippet มีรายละเอียดพื้นฐานเกี่ยวกับหมวดหมู่ เช่น ชื่อ |
snippet.channelId |
string
รหัสที่ YouTube ใช้เพื่อระบุช่องที่เผยแพร่หมวดหมู่คำแนะนำอย่างเจาะจง |
snippet.title |
string
ชื่อของหมวดหมู่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-29 UTC
[null,null,["อัปเดตล่าสุด 2024-11-29 UTC"],[[["The `guideCategories` resource and `guideCategories.list` method were deprecated on September 9, 2020."],["A guide category is a classification assigned by YouTube to a channel based on its content or other indicators."],["The `guideCategories.list` method provided a list of categories applicable to YouTube channels."],["The `guideCategory` resource contains an ID, a snippet with basic details like a title, and other metadata such as the category's etag."],["Unlike video categories that are assigned by uploaders, channel categories are exclusively assigned by YouTube."]]],["The `guideCategories` resource and its `list` method were deprecated on September 9, 2020. A `guideCategory` represents a YouTube-assigned category for a channel. The `list` method previously returned categories associated with YouTube channels. The resource's JSON structure included `kind`, `etag`, `id`, and a `snippet` object with `channelId` and `title` properties. Only YouTube could assign these categories, unlike video categories, which could be assigned by the uploader.\n"]]