2013-05-21 2 views

답변

3

는 :

https://github.com/google/google-api-ruby-client

# Log in 
google-api oauth-2-login --client-id='...' --client-secret='...' --scope="https://www.googleapis.com/auth/datastore https://www.googleapis.com/auth/userinfo.email" 

# Start an interactive API session 
google-api irb 
>> ds = $client.discovered_api('datastore', 'v1beta1') 
>> $client.execute(ds.lookup, {'datasetId' => '...', 'keys' => [...]}) 
=> # returns a response from the API 
+1

주 모두'https : //로 www.googleapis.com/인증/datastore'과'은 https : //www.googleapi s.com/auth/userinfo.email' 범위에 있습니다. – proppy

관련 문제