YouTube Data API (v3) Code Samples - Google Developers
文章推薦指數: 80 %
You can then click on any use case to populate the APIs Explorer widget with sample parameter and property values for that use case. YouTube DataAPI English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어 Signin Home Guides Reference Samples Support YouTube DataAPI Home Guides Reference Samples Support Index Java,JavaScript,PHP,Python Usecasesandcodesamples Otherlanguages AppsScriptGo.NETRuby Home Products YouTube DataAPI Samples YouTubeDataAPI(v3)CodeSamples YoucanexplorecommonusecasesfortheYouTubeDataAPIandYouTubeLiveStreamingAPIontheusecasesandcodesamplespage. ThepageletsyouselectanAPIresourceandmethodandthenlistscommonusecasesforthatmethod.YoucanthenclickonanyusecasetopopulatetheAPIsExplorerwidgetwithsampleparameterandpropertyvaluesforthatusecase.YoucanalsoopenthefullscreenAPIsExplorerwidgettoseeworkingcodesamplesforJava,JavaScript,PHP,andPython.IfyouupdateparameterorpropertyvaluesintheAPIsExplorer,thecodesamplesalsoupdatetoreflectyourchanges. Thefollowingsectionlistscodesamplesavailableinotherlanguages. Standalonecodesnippets ThelistsbelowidentifycodesamplesavailablefortheYouTubeDataAPI(v3)inlanguagesotherthanJava,JavaScript,PHP,andPython.Asnotedintheprevioussection,codesamplesforthoselanguagesareavailableontheusecasesandcodesamplespage. AppsScript Codesample Methods Addachannelsubscription subscriptions.insert Retrievecurrentuser'suploads channels.list Searchforvideosrelatedtoakeyword search.list Updateavideo videos.update Go Codesample Methods Authorizearequest Anymethodrequiringauthorization. Retrievecurrentuser'suploads playlistItems.list Searchforvideosrelatedtoakeyword search.list Uploadavideo videos.insert .NET Codesample Methods Createaplaylist playlists.insert Retrievecurrentuser'suploadedvideos channels.list playlistItems.list Searchforvideosrelatedtoakeyword search.list Uploadavideo videos.insert Ruby Codesample Methods Authorizearequest Anymethodrequiringauthorization. Createachannelsubscription subscriptions.insert Retrievecurrentuser'suploads channels.list playlistItems.list Searchforvideosrelatedtoakeyword search.list Uploadavideo videos.insert Youmayalsobeabletoadaptoneoftheother Rubysamples. Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2020-04-17UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Blog ThelatestnewsontheYouTubeblog GitHub FindAPIcodesamplesandotherYouTubeopen-sourceprojects. IssueTracker Somethingwrong?Sendusabugreport! StackOverflow Askaquestionundertheyoutube-apitag Videos CheckouttheYouTubeDeveloperRelationsteam'sYouTubechannel Tools GoogleAPIsExplorer YouTubePlayerDemo ConfigureaSubscribeButton IssueTracker Fileabug Requestafeature Seeopenissues ProductInfo TermsofService BrandingGuidelines MonetizationGuidelines APIssubjecttoDeprecationPolicy Android Chrome Firebase GoogleCloudPlatform Allproducts Terms Privacy SignupfortheGoogleDevelopersnewsletter Subscribe English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어
延伸文章資訊
- 1YouTube IFrame API Demo - CodePen
<title>YouTube Timestamp Embed</title> ... The <iframe> (and video player) will replace #player. ...
- 2YouTube API Sample Project | Getting started - SoapUI
See a SoapUI API testing example using a Youtube API Sample Project. See SoapUI in action today.
- 3youtube/api-samples - GitHub
Code samples for YouTube APIs, including the YouTube Data API, YouTube Analytics API, and YouTube...
- 4youtube api demo code - 軟體兄弟
youtube api demo code,2019年10月22日— The following code sample calls the API's playlists.insert met...
- 5YouTube Data API (v3) Code Samples - Google Developers
You can then click on any use case to populate the APIs Explorer widget with sample parameter and...