3a9d58108a
Example code: require 'google/api_client' client = Google::APIClient.new(:service => 'buzz') client.authorization.fetch_temporary_credential!( :additional_parameters => { 'scope' => 'https://www.googleapis.com/auth/buzz' } ) client.authorization.authorization_uri # Redirect user here client.authorization.fetch_token_credential!(:verifier => '12345') response = client.execute( 'buzz.activities.list', 'scope' => '@self', 'userId' => '@me', 'alt' => 'json' ) status, headers, body = response git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@34 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef |
||
---|---|---|
lib/google | ||
spec | ||
tasks | ||
.gitignore | ||
CHANGELOG | ||
LICENSE | ||
README | ||
Rakefile |
README
== APIClient Homepage:: google-api-ruby-client[http://code.google.com/p/google-api-ruby-client/] Authors:: Bob Aman (mailto:bobaman@google.com), Matt Pokrzywa (mailto:mattpok@google.com) Copyright:: Copyright 2010 Google Inc. License:: Apache 2.0 == Description The Google API Ruby Client makes it trivial to discover and access supported APIs. == Features * A feature list goes here. == Example Usage # Some code goes here. == Requirements * APIClient has no dependencies. == Install * sudo gem install google-api-client