#軟體工程師面試 #文長慎入
面試問題好像一直以來都是一個很多人關切的環節,在各大版上也一直有人會詢問。因為之前有幫公司面試一些人,還有加上從朋友那邊搜刮來的經驗,概括分享一下。
這邊感覺可以分成幾個部分:
1. 面試的題目是否都是演算法相關題目?
2. 是為什麼實際工作內容通常都和面試考的沒有相關?
3. 我現在學的東西對找工作是否有幫助?
4. 公司招募看的到底是這個人的學經歷,能力,個性,還是什麼,為什麼有些人很感覺很厲害卻一直無法拿到offer?
其實用FB排版不太容易,但因為懶得登入部落格,想說快速地打一打,所以也請各位見諒。
#面試的題目是否都是演算法相關題目
如果是投FANG之類的,Facebook Amazon, Neflix, Google (沒記錯應該是這幾間),反正就是這些有名的大廠,除了Netflix目前沒有遇到認識的聊過,其他都是考演算法沒錯。
當然也不只有會考演算法,根據你申請的職缺,可能也會加考一些其他的東西。
那其公司是怎樣呢?其實還是有很多公司會考演算法相關的,尤其是線上面試。
雖然在疫情下全都是線上,但一般來說,還是會有分兩種,一種是沒有真人的狀況下,就是給你像是HackRank這種網站,你點開可能有六十分鐘讓你做兩題。
做完以後你提交,你也不會知道你的分數跟分析結果之類的,看公司怎麼做設定,而且除了演算法相關題目,也可以設定選擇題之類的。
另一種就是真人面試,通常電腦自動面完以後,你可能會跟真人線上面試,真人也是會給你類似所謂的白板題,就是出一個題目讓你現場解題,然後中間可能有的會要你跟他討論,當然看面試官拉!
比較加分的還是,你編寫的時候可以邊闡述自己的想法,而不是低頭默默寫完,這樣也是有點尷尬。如果你編寫邊闡述的話,或者是少有點互動,也是展現你的溝通能力以及你對於題目的掌握能力,就像是你看到一個很簡單的題目 (2+3)*5 之類的,你可以很有自信的說,喔因為2+3在括弧裡面,所以要先算,然後再乘以5,展現底是真的有理解,而不是就是背題目之類的。
有些公司也可能是給你回家作業,叫你做一個小專案之類的,看你應徵的職缺,可能是叫你做一個UI 或者叫你建一個API 也可能叫你做一整個比較完整的東西出來。如果你是面試架構師的話,可能會叫你建一個架構,或設計一個架構出來。
然後也有的公司(像我們公司)就是需要pair programming 所以在線上面試的階段就是會有,真人跟你一起寫程式這樣。
#為什麼實際工作內容通常都和面試考的沒有相關
這個部分一直以來都是一個難解的謎題。像是Google Facebook這種大公司其實不難理解,畢竟他們是比較類似General 的招募,不是一開始就決定好你就是要去某個Team然後永遠讓你待在那個Team。就他們招募的是他們覺得,有潛力的人才,這樣不管需要做什麼都可以自由移動他們,給他們training就可以變得很好用。加上他們一次招募的數量也是相當龐大,考演算法相關的話,可以快速篩選,也更有機會找到他們需要的人才。
因為像是Facebook或Google這種有自己開發框架,開發技術的公司,他們的確有很多時候需要寫演算法或者系統優化的工作。
那像是普通的中小企業或新創,說真的,其實就是跟風。因為覺得人家Google Facebook都是這樣找到優秀人才,那我們也要依樣畫葫蘆,這樣鐵定也能找到厲害的人。
可是這樣找到的人進去以後,發現公司好像也是不知道在幹嘛,最後可能也會待不下去。所以這個部分,近年來也越來越多公司開始改進,開始思考什麼樣的招募流程最適合自己公司。
像是pair programming也開始成為近年來的一個流行的面試,有的公司並不是真的pair 但就是你要跟他們一起工作,了解他們公司的文化,或者跟他們的工程師進行一些深度討論。或者會問你說,假設給你設計一個系統,你要怎麼做之類的。
當然,面試問題跟流程都是每間公司各有不同,不是說你現在準備一種就萬無一失。所以說最好還是盡可能的,提升自己的基礎能力。
如果真的就是打算以FANG為目標的話,就可以從刷題開始,像是Leetcode, Hackrank, codewars之類的都不錯。之前有看到一篇文章,他刷了幾百題,而且每題刷了三次以上,真的很有毅力。刷題的重點就是在於熟練那些題目,可是也不要硬背,你練習是要練那個速度感。可是該理解的還是要理解。
因為你進公司以後,你還是需要使用那些東西來工作,不是只是為了刷題而刷題,而且面試官可能也會考你變形題之類的,或者問你一些記憶體相關的問題,或者是系統設計的問題,或者單純想知道,你是怎麼想出解法的,所以硬背題目跟答案其實也是不太行。
目前我的了解是,大部分中小型企業或者新創,很多時候你學習新東西的能力是比演算法更重要的,尤其是新創你什麼都要會,假設公司是剛起步的新創,你就要變成公司主要的技術專家,什麼東西不太會也要馬上現學現賣,也不要期望公司可能會給你什麼Training 或者有人給你依靠,可能同事還要依靠你。
中型或者普通大型企業,假設公司已經有產品的話,大部分的時候可能是既有產品維護,除非你剛好很幸運地在新產品開發的Team,這樣就有機會學到很多東西,不然維護的話,很多時候只是在了解產品本身是否有Bug,改善code品質之類,也要看公司是否有想花成本在維護上面。如果公司就是打算一個產品,改一點東西就繼續賣錢,那樣好像也不太需要一直去migrate 或者搞新東西上去。
如果你剛好很幸運在獨角獸新創,那你不但可以學到很多東西,還可以用最新科技,可能還有機會遇到大神帶你。
所以說選公司其實也是有點重要,面試的時候,可以問問他們說,那你平常的daily work是怎麼樣的,公司有沒有走敏捷開發,公司有沒有用雲端,公司一個Team的規模之類,以及公司會不會提供訓練。
#我現在學的東西對找工作是否有幫助
其實這個就要看你的未來三年五年十年規劃。
假設你就是都在寫前端,你也覺得我要寫前端寫一輩子,那好像就可以繼續一直focus在前端。如果你擔心自己會丟飯碗,是不是要學點後端,其實也是可以學,可是學了以後,你打算學得多專精?後端的東西也是會一直更新,一直進步。可能Restful API 也可能不是,DB也有好多種DB, 後端語言也很多種,所以你是想要學個大概,還是是希望,後端也問題的時候,自己可以去看code也看得懂?
前一個專案,公司有一個前端,他就是因為自己做的ticket幾乎都會碰到後端,就乾脆把整個後端也寫一寫,就變成fullstack,雖然他主要還是算前端。但也因為是.NET 所以前端跟後端可能沒有太明顯的分界,至少我相信他本來就會寫.NET了,因為幾乎有一半以上的controller都是他寫的。
如果你是寫react SPA,就是跟後端完全分開,你就只要寫到send http request 那邊的話,那好像也不太需要去了解到後端的架構,就是大概知道後端的endpoint 長什麼樣子就好,他們需要提供的文件就是需要提供。
如果說你是怕以後失業,怕公司可能覺得請全端比較划算,那的確還是多學一點好,反正多學也是投資自己。還能順便展現自己的上進心以及學習能力。
以consultancy來說好了,感覺是什麼都要學,像是公司可能就會說,啊最近我們的客人都要求要會什麼什麼,那你就趕快學一下。當然公司也不是很壞心的就叫你要馬上學會,公司最近也是有開始提供一大堆Training 之類的,還給你錢讓你去考一些證照。
目前我使用的語言主要還是Javascript 和 C#這樣,然後公司有希望我可以好好學學Java。其實也不是不會寫Java,如果有發漏我其他文章的話就知道,其實我最一開始學的時候,第一個語言就是Java。
在台大資訊系統訓練班的時候,我就上了Java和PHP的課程,為自己來英國念研究所做準備,一年的master course也都是Java 跟PHP為主,然後有用了一點Python這樣。可是工作以後就只有使用C#和Javascript 而已,所以說,學校學了也不一定會用到。
很多東西都是工作以後才學的,然後Python是平常自己刷題的時候會用,因為覺得不錯用。
其他的話,我覺得雲端相關的東西滿實用的,像是AWS或Azure 或GCP 有機會的話是可以自己摸摸。我自己是滿幸運的在工作上一直都有用到雲端產品,主要是AWS,前一個專案有用Azure 這樣。
DB的話,就是SQL和NoSQL可以個學一個,應該就滿好用的了,目前最流行的應該就是PostgreSQL和MongoDB 。如果對於Graphic Database有興趣也可以稍微看一下像是Neo4J之類的吧!
前端框架的話,就是React, Angular, Vue.js選一個吧!學會一個以後再去學其他的也不難,這三個我是剛好工作上都有用到,我自己是覺得Vue和React應該是比較好上手的,入門門檻比較低,Angular就一定要寫Typescript.
後端框架的話,看你用什麼語言,Java就學spring boot,
C#就是.NET,JS的話應該是Express,Python就Django,PHP就Laravel 。
Mobile的話我沒有寫過也不知道。
如果是平常想要補充知識的話,可以多念一些像是security 相關的東西,或者是Oauth那類的,也可以看一下架構之類的。像是Microservices, microfrontend, Domain Driven Development 這些概念性的東西。
也可以看一些像是Clean Code相關的書,怎樣重構原本的爛Code或者TDD相關的書。
反正前一篇文章就說了,這個職業就是要一直學,活到老學到老,如果打算做到老的話。
#公司招募看的到底是這個人的什麼
其實每個公司應該都不太相同。有的公司就是要招募他們覺得最聰明的人,所以就是一直問你一些很難的東西。或者就是只要找那種名校出來的人,最好有什麼數學物理奧林匹亞的。
有些公司看的是你的個性,符不符合公司文化,或者同事喜不喜歡你之類的。
有些公司就是很缺人,看你能不能馬上上工之類的。能的話就馬上錄取你之類。但通常那個可能是很雷的缺,例如公司找人找很久都找不到,終於看到一線希望。然後為什麼找不到人,可能是薪水開的偏低,或者公司名聲不好,上Glassdoor就可以查看公司的評價。也可能是職缺本身很雷,例如看起來就是個打雜缺。或者是前人都做不久就離開,所以需要一直找人。
有些公司是看你寫的code 例如看你的code乾不乾淨,可能你寫出來的code都很乾淨,設計也很好,思路也很清晰,他們就會錄取你。
有些公司看的是你有沒有某些特定的經驗,例如公司開那個缺剛好就是要找有AWS經驗的人,所以可能就是會錄取他們覺得AWS經驗比較多的人。或者是剛好想找之前有做過Serverless架構的人,或者是有碰過Kubernetes的人,這個時候真的就是靠經驗了。
也有的公司就是,他們也懶得找人,HR給他們面試的第一個人就會錄取,這個完全靠運氣。這件事情真的發生在我第一間公司的另外一個Team,主管非常不喜歡面試人,也覺得我工作都沒時間還要面試。所以就是隨便問問之類的,然後就跟HR說好。
--------------------------------------
以上就是我目前經歷過以及別人分享給我的經驗。我覺得面試的話,運氣真的也是佔滿大的比例,尤其是遇到像第一間公司那種狀況的。
當然年輕的時候可能會比較急躁,也很擔心自己找不到工作,考量到的還有金錢跟公司名聲,所以學不學得到東西也可能是其次。
選offer的時候,也可能就是可以分析一下,自己想要的到底是什麼,是金錢,是做得開心,還是想要可以做的久(這個也要看公司可以活多久),除了看Glassdoor也可以上網看一下公司財報。
最近的疫情衝擊下,有很多新創或中小企業也開始裁員跟減薪,所以公司平常的財務狀況和經營方針也是很重要的。即使公司可能一直都有收入,也可能因為現金管理問題,導致沒有足夠現金需要裁員。
同時也有10000部Youtube影片,追蹤數超過2,910的網紅コバにゃんチャンネル,也在其Youtube影片中提到,...
「laravel api文件」的推薦目錄:
- 關於laravel api文件 在 小吃貨的英國生活日記 Facebook 的最佳貼文
- 關於laravel api文件 在 コバにゃんチャンネル Youtube 的精選貼文
- 關於laravel api文件 在 大象中醫 Youtube 的最佳解答
- 關於laravel api文件 在 大象中醫 Youtube 的最讚貼文
- 關於laravel api文件 在 Laravel 套件,台灣藍新金流(智付通)企業會員金流串接 - GitHub 的評價
- 關於laravel api文件 在 Laravel - 讀寫google sheet - Yee的補坑筆記 的評價
- 關於laravel api文件 在 API Reference | YouTube Data API - Google for Developers 的評價
- 關於laravel api文件 在 [Laravel][PHP][教學] Web API#01. Web API 章節介紹與簡易 ... 的評價
- 關於laravel api文件 在 Conversions API - Documentation - Meta for Developers 的評價
laravel api文件 在 Laravel - 讀寫google sheet - Yee的補坑筆記 的推薦與評價
當然是有的,而且省去了官方文件上一連串登入的動作, ... Google Sheets API v4 for Laravel ... 開啟google sheet 和雲端硬碟的api使用權限,. ... <看更多>
laravel api文件 在 API Reference | YouTube Data API - Google for Developers 的推薦與評價
The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The lists below identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources.
This reference guide explains how to use the API to perform all of these operations. The guide is organized by resource type. A resource represents a type of item that comprises part of the YouTube experience, such as a video, a playlist, or a subscription. For each resource type, the guide lists one or more data representations, and resources are represented as JSON objects. The guide also lists one or more supported methods (LIST
, POST
, DELETE
, etc.) for each resource type and explains how to use those methods in your application.
The following requirements apply to YouTube Data API requests:
Every request must either specify an API key (with the key
parameter) or provide an OAuth 2.0 token. Your API key is available in the Developer Console's API Access pane for your project.
You must send an authorization token for every insert, update, and delete request. You must also send an authorization token for any request that retrieves the authenticated user's private data.
In addition, some API methods for retrieving resources may support parameters that require authorization or may contain additional metadata when requests are authorized. For example, a request to retrieve a user's uploaded videos may also contain private videos if the request is authorized by that specific user.
The API supports the OAuth 2.0 authentication protocol. You can provide an OAuth 2.0 token in either of the following ways:
Use the access_token
query parameter like this: ?access_token=
oauth2-token
Use the HTTP Authorization
header like this: Authorization: Bearer
oauth2-token
Complete instructions for implementing OAuth 2.0 authentication in your application can be found in the authentication guide.
Resource types
Activities
An activity
resource contains information about an action that a particular channel, or user, has taken on YouTube. The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, uploading a video, and so forth. Each activity
resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /activities
Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel or with the user's own channel.
insert
POST /activities
Note: This method has been deprecated and is no longer
supported.
Captions
A caption
resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
delete
DELETE /captions
Deletes the specified caption track.
download
GET /captions/id
Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the
tfmt
parameter and in its original language unless the request specifies a value for the tlang
parameter.insert
POST /captions
Uploads a caption track.
list
GET /captions
Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the
captions.download
method provides the ability to retrieve a caption track.update
PUT /captions
Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.
ChannelBanners
A channelBanner
resource contains the URL that you would use to set a newly uploaded image as the banner image for a channel.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
insert
POST /channelBanners/insert
Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel:
Call the channelBanners.insert
method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2048x1152 pixels. We recommend uploading a 2560px by 1440px image.Extract the url
property's value from the response that the API returns for step 1.Call the channels.update
method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl
property's value to the URL obtained in step 2.
ChannelSections
A channelSection
resource contains information about a set of videos that a channel has chosen to feature. For example, a section could feature a channel's latest uploads, most popular uploads, or videos from one or more playlists.
Note that a channel's sections are only visible if the channel displays content in a browse view (rather than a feed view). To enable a channel to display content in a browse view, set the brandingSettings.channel.showBrowseView
property to true
for the specified channel.
A channel can create a maximum of 10 shelves.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
delete
DELETE /channelSections
Deletes a channel section.
insert
POST /channelSections
Adds a channel section to the authenticated user's channel. A channel can create a maximum of 10 shelves.
list
GET /channelSections
Returns a list of
channelSection
resources that match the API request criteria.update
PUT /channelSections
Updates a channel section.
Channels
A channel
resource contains information about a YouTube channel.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /channels
Returns a collection of zero or more
channel
resources that match the request criteria.update
PUT /channels
Updates a channel's metadata. Note that this method currently only supports updates to the
channel
resource's brandingSettings
and invideoPromotion
objects and their child properties.CommentThreads
A commentThread
resource contains information about a YouTube comment thread, which comprises a top-level comment and replies, if any exist, to that comment. A commentThread
resource can represent comments about either a video or a channel.
Both the top-level comment and the replies are actually comment
resources nested inside the commentThread
resource. The commentThread
resource does not necessarily contain all replies to a comment, and you need to use the comments.list
method if you want to retrieve all replies for a particular comment. Also note that some comments do not have replies.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /commentThreads
Returns a list of comment threads that match the API request parameters.
insert
POST /commentThreads
Creates a new top-level comment. To add a reply to an existing comment, use the
comments.insert
method instead.Comments
A comment
resource contains information about a single YouTube comment. A comment
resource can represent a comment about either a video or a channel. In addition, the comment could be a top-level comment or a reply to a top-level comment.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /comments
Returns a list of comments that match the API request parameters.
setModerationStatus
POST /comments/setModerationStatus
Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments.
insert
POST /comments
Creates a reply to an existing comment. Note: To create a top-level comment, use the
commentThreads.insert
method.markAsSpam
POST /comments/markAsSpam
Note: This method has been deprecated and is no longer
supported.
delete
DELETE /comments
Deletes a comment.
update
PUT /comments
Modifies a comment.
GuideCategories
A guideCategory
resource identifies a category that YouTube algorithmically assigns based on a channel's content or other indicators, such as the channel's popularity. The list is similar to video categories, with the difference being that a video's uploader can assign a video category but only YouTube can assign a channel category.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /guideCategories
Returns a list of categories that can be associated with YouTube channels.
I18nLanguages
An i18nLanguage
resource identifies an application language that the YouTube website supports. The application language can also be referred to as a UI language. For the YouTube website, an application language could be automatically selected based on Google Account settings, browser language, or IP location. A user could also manually select the desired UI language from the YouTube site footer.
Each i18nLanguage
resource identifies a language code and a name. The language code can be used as the value of the hl
parameter when calling API methods like videoCategories.list
and guideCategories.list
.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /i18nLanguages
Returns a list of application languages that the YouTube website supports.
I18nRegions
An i18nRegion
resource identifies a geographic area that a YouTube user can select as the preferred content region. The content region can also be referred to as a content locale. For the YouTube website, a content region could be automatically selected based on heuristics like the YouTube domain or the user's IP location. A user could also manually select the desired content region from the YouTube site footer.
Each i18nRegion
resource identifies a region code and a name. The region code can be used as the value of the regionCode
parameter when calling API methods like search.list
, videos.list
, activities.list
, and videoCategories.list
.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /i18nRegions
Returns a list of content regions that the YouTube website supports.
Members
A member
resource represents a channel member for a YouTube
channel. A member provides recurring monetary support to a creator and receives special
benefits. For example, members are able to chat when the creator turns on members-only mode for
a chat.
For more information about this resource, see its
resource representation and list of
properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /members
Lists members (formerly known as "sponsors") for a channel. The API request must be
authorized by the channel owner.
MembershipsLevels
A membershipsLevel
resource identifies a pricing level for the
creator that authorized the API request.
For more information about this resource, see its
resource representation and list of
properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /membershipsLevels
Returns a collection of zero or more
membershipsLevel
resources owned by the channel that authorized the API request. Levels are returned in
implicit display order.
PlaylistItems
A playlistItem
resource identifies another resource, such as a
video, that is included in a playlist. In addition, the playlistItem
resource
contains details about the included resource that pertain specifically to how that resource
is used in that playlist.
YouTube also uses a playlist to identify a channel's list of uploaded videos, with each
playlistItem
in that list representing one uploaded video. You can retrieve the
playlist ID for that list from the channel resource
for a given channel. You can then use the
playlistItems.list
method to the
list.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
delete
DELETE /playlistItems
Deletes a playlist item.
insert
POST /playlistItems
Adds a resource to a playlist.
list
GET /playlistItems
Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs.
update
PUT /playlistItems
Modifies a playlist item. For example, you could update the item's position in the playlist.
Playlists
A playlist
resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. By default, playlists are publicly visible to other users, but playlists can be public or private.
YouTube also uses playlists to identify special collections of videos for a channel, such as: uploaded videos positively rated (liked) videos watch history watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource
for a given channel.
You can then use the playlistItems.list
method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert
and playlistItems.delete
methods.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
delete
DELETE /playlists
Deletes a playlist.
list
GET /playlists
Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.
insert
POST /playlists
Creates a playlist.
update
PUT /playlists
Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.
Search
A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /search
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching
video
, channel
, and playlist
resources, but you can also configure queries to only retrieve a specific type of resource.Subscriptions
A subscription
resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
delete
DELETE /subscriptions
Deletes a subscription.
insert
POST /subscriptions
Adds a subscription for the authenticated user's channel.
list
GET /subscriptions
Returns subscription resources that match the API request criteria.
Thumbnails
A thumbnail
resource identifies different thumbnail image sizes associated with a resource. Please note the following characteristics of thumbnail images:A resource's snippet.thumbnails
property is an object that identifies the thumbnail images available for that resource.A thumbnail
resource contains a series of objects. The name of each object (default
, medium
, high
, etc.) refers to the thumbnail image size.Different types of resources may support different thumbnail image sizes.Different types of resources may define different sizes for thumbnail images with the same name. For example, the default
thumbnail image for a video
resource is typically 120px by 90px, and the default
thumbnail image for a channel
resource is typically 88px by 88px.Resources of the same type may still have different thumbnail image sizes for certain images depending on the resolution of the original image or content uploaded to YouTube. For example, an HD video may support higher resolution thumbnails than non-HD videos.Each object that contains information about a thumbnail image size has a width
property and a height
property. However, the width and height properties may not be returned for that image.If an uploaded thumbnail image does not match the required dimensions, the image is resized to match the correct size without changing its aspect ratio. The image is not cropped, but may include black bars so that the size is correct.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
set
POST /thumbnails/set
Uploads a custom video thumbnail to YouTube and sets it for a video.
VideoAbuseReportReasons
A videoAbuseReportReason
resource contains information about a reason that a video would be flagged for containing abusive content. When your application calls the videos.reportAbuse
method to report an abusive video, the request uses the information from a videoAbuseReportReason
resource to identify the reason that the video is being reported.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /videoAbuseReportReasons
Retrieve a list of reasons that can be used to report abusive videos.
VideoCategories
A videoCategory
resource identifies a category that has been or could be associated with uploaded videos.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
list
GET /videoCategories
Returns a list of categories that can be associated with YouTube videos.
Videos
A video
resource represents a YouTube video.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
insert
POST /videos
Uploads a video to YouTube and optionally sets the video's metadata.
list
GET /videos
Returns a list of videos that match the API request parameters.
delete
DELETE /videos
Deletes a YouTube video.
update
PUT /videos
Updates a video's metadata.
rate
POST /videos/rate
Add a like or dislike rating to a video or remove a rating from a video.
getRating
GET /videos/getRating
Retrieves the ratings that the authorized user gave to a list of specified videos.
reportAbuse
POST /videos/reportAbuse
Report a video for containing abusive content.
Watermarks
A watermark
resource identifies an image that displays during playbacks of a specified channel's videos. You can also specify a target channel to which the image will link as well as timing details that determine when the watermark appears during video playbacks and the length of time it is visible.
For more information about this resource, see its resource representation and list of properties.
Method
HTTP request
Description
URIs relative to
https://www.googleapis.com/youtube/v3
set
POST /watermarks/set
Uploads a watermark image to YouTube and sets it for a channel.
unset
POST /watermarks/unset
Deletes a channel's watermark image.
... <看更多>
laravel api文件 在 Laravel 套件,台灣藍新金流(智付通)企業會員金流串接 - GitHub 的推薦與評價
其他本套件未說明之事項(例如:交易流程、錯誤代碼的含義),請參考官方API文件。 Installation. (1)用composer 安裝套件. composer require datomon/laravel-newebpay. ... <看更多>