projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Making the commands line up in the --help screen.
[arvados.git]
/
README
diff --git
a/README
b/README
index 6ac35e13ae728b0ce2e62d85b38e0932f8da2275..b7e47e5bdb9f323d98679533e35114462a7d705d 100644
(file)
--- a/
README
+++ b/
README
@@
-17,6
+17,7
@@
APIs.
require 'signet/oauth_1/client'
client = Google::APIClient.new(
:service => 'buzz',
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',
: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',
# 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
)
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