নীচের তালিকাটি এই পদ্ধতির জন্য সাধারণ ব্যবহারের ক্ষেত্রে দেখায়। একটি ব্যবহারের ক্ষেত্রে তার বিবরণ দেখতে, অথবা APIs এক্সপ্লোরারে নমুনা প্যারামিটার মান লোড করতে একটি ব্যবহারের ক্ষেত্রে ক্লিক করুন৷ এক্সপ্লোরারে প্রবেশ করা প্যারামিটার মানগুলিকে প্রতিফলিত করতে গতিশীলভাবে আপডেট হওয়া কোড নমুনাগুলি দেখতে আপনি পূর্ণস্ক্রীন APIs এক্সপ্লোরার খুলতে পারেন৷
নীচের টেবিলটি এই পদ্ধতির জন্য সাধারণ ব্যবহারের ক্ষেত্রে দেখায়। আপনি APIs এক্সপ্লোরারে নমুনা প্যারামিটার মান লোড করতে একটি ব্যবহারের ক্ষেত্রের নামের উপর ক্লিক করতে পারেন। অথবা আপনি একটি ব্যবহারের ক্ষেত্রের নামের নীচে কোড আইকনে ক্লিক করে পূর্ণস্ক্রীন APIs এক্সপ্লোরারে একটি ব্যবহারের ক্ষেত্রে কোড নমুনা দেখতে পারেন৷ ফুলস্ক্রিন UI-তে, আপনি প্যারামিটার এবং সম্পত্তির মান আপডেট করতে পারেন এবং কোড নমুনাগুলি আপনার প্রবেশ করা মানগুলিকে প্রতিফলিত করতে গতিশীলভাবে আপডেট হবে।
এই পদ্ধতির একটি সাধারণ ব্যবহারের ক্ষেত্রে রয়েছে, যা নীচে বর্ণিত হয়েছে। বর্ণনার নীচের বোতামগুলি নমুনা মান সহ APIs এক্সপ্লোরারকে তৈরি করে বা সেই মানগুলি ব্যবহার করে এমন কোড নমুনাগুলি দেখানোর জন্য পূর্ণস্ক্রীন APIs এক্সপ্লোরার খুলুন৷ আপনি যদি মান পরিবর্তন করেন তবে কোড নমুনাগুলিও গতিশীলভাবে আপডেট হয়।
Use cases | |
---|---|
list (by video ID) | This example retrieves information about a specific video. It uses the id parameter to identify the video. |
list (multiple video IDs) | This example retrieves information about a group of videos. The id parameter value is a comma-separated list of YouTube video IDs. You might issue a request like this to retrieve additional information about the items in a playlist or the results of a search query. |
list (most popular videos) | This example retrieves a list of YouTube's most popular videos. The regionCode parameter identifies the country for which you are retrieving videos. The sample code is set to default to return the most popular videos in the United States. You could also use the videoCategoryId parameter to retrieve the most popular videos in a particular category. |
list (my liked videos) | This example retrieves a list of videos liked by the user authorizing the API request. By setting the rating parameter value to dislike , you could also use this code to retrieve disliked videos. |