Skip to content

Instantly share code, notes, and snippets.

@sporkmonger
Created October 21, 2010 19:46
Show Gist options
  • Select an option

  • Save sporkmonger/639177 to your computer and use it in GitHub Desktop.

Select an option

Save sporkmonger/639177 to your computer and use it in GitHub Desktop.
Usage: google-api (execute <rpcname> | [command]) [options] [-- <parameters>]
Available options:
--scope <scope> Set the OAuth scope
--client-key <key> Set the 2-legged OAuth key
--client-secret <secret> Set the 2-legged OAuth secret
-s, --service <name> Perform discovery on service
--service-version <id> Select service version
--content-type <format> Content-Type for request
-u, --uri <uri> Sets the URI to perform a request against
--discovery-uri <uri> Sets the URI to perform discovery
-m, --method <method> Sets the HTTP method to use for the request
--requestor-id <email> Sets the email address of the requestor
-v, --verbose Run verbosely
-h, --help Show this message
--version Show version
Available commands:
oauth-login Log a user into an API
list List the methods available for a service
execute Execute a method on the API
irb Start an interactive client session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment