Access Google Contacts API on Ruby
I'm struggling to access the Google Contacts API. First I tried the google-api-ruby-client gem but it turned out that it does not support the Contacts API . Next shot was the google_contacts_api gem but I struggle to get a oauth_access_token_for_user with the oAuth2 gem . When following the oAuth2 instructions I don't know what to put in authorization_code_value and Basic some_password . I tried the following: require 'oauth2' client = OAuth2::Client.new(ENV['GOOGLE_CLIENT_ID'], ENV['GOOGLE_CLIENT_SECRET'], :site => 'http://localhost:9292') => #<OAuth2::Client:0x007fcf88938758 @id="blabla.apps