1
我使用YouTube啓動了一個基於web的開發項目,當我註冊API時,我收到的都是客戶端ID和電子郵件ID。然而,在調用數據API的Ruby示例文本中,它指出:Google開發者API密鑰和YouTube API
def initialize(scope)
credentials = Google::APIClient::ClientSecrets.load
@authorization = Signet::OAuth2::Client.new(
:authorization_uri => credentials.authorization_uri,
:token_credential_uri => credentials.token_credential_uri,
:client_id => credentials.client_id,
:client_secret => credentials.client_secret,
:redirect_uri => credentials.redirect_uris.first,
:scope => scope
我不知道要去抓這些證書。想法?