X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/638f8a810c056014bed7b4bd303db7b2de9e08ca..d346426d4d60190c867824fe8119d6943ca5dc40:/README diff --git a/README b/README index 6ac35e13ae..b7e47e5bdb 100644 --- a/README +++ b/README @@ -17,6 +17,7 @@ APIs. require 'signet/oauth_1/client' client = Google::APIClient.new( :service => 'buzz', + # Buzz has API-specific endpoints :authorization => Signet::OAuth1::Client.new( :temporary_credential_uri => 'https://www.google.com/accounts/OAuthGetRequestToken', @@ -48,15 +49,20 @@ APIs. # Make an API call response = client.execute( 'chili.activities.list', - {'scope' => '@self', 'userId' => '@me', 'alt' => 'json'}, - '', [], {:signed => true} + {'scope' => '@self', 'userId' => '@me', 'alt' => 'json'} ) status, headers, body = response -== Requirements +== Install -* APIClient has no dependencies. +Be sure both http://gems.github.com/ and http://rubygems.org/ are in your gem +sources. -== Install +For normal client usage, this is sufficient: + +sudo gem install google-api-client + +The command line interface, the example applications, and the test suite +require additional dependencies. These may be obtained with: -* sudo gem install google-api-client +sudo gem install google-api-client --development --force --no-rdoc --no-ri