選択した API プロジェクトに YouTube API を追加します(まだ追加していない場合)。YouTube API サービスのデフォルトの割り当ては 1 日あたり 10,000 割り当てポイントですが、MadeForKids の動画ステータス(最大 5,000 本)を確認するにはこれで十分です。
YouTube Data API サービスを使用して、videos.list エンドポイントを呼び出します。
[null,null,["最終更新日 2023-02-23 UTC。"],[],["YouTube content marked \"MadeForKids\" (MFK) necessitates specific handling. Embedding MFK videos requires disabling tracking and ensuring data collection complies with laws like COPPA. To verify a video's MFK status, use the YouTube Data API Service. Access your Google developer account, enable the YouTube API, and use the `videos.list` endpoint. Include video IDs and the `id` and `status` parts in the request. The `status.madeForKids` property reveals the MFK designation.\n"]]