Google's generated REST clients for Google APIs in Ruby
open sourceApache-2.0free
Google's simple REST clients for Ruby: one gem per API and version (google-apis-drive_v3 for the Drive API, for example), generated from Google's Discovery Documents, with the code generator in the same repository. Each client connects to the service's HTTP/JSON endpoint, gives Ruby objects for its data structures, authenticates with OAuth, API keys or service accounts through the googleauth gem, and controls retries, pagination and timeouts. The shared base classes are the google-apis-core gem. Google supports them officially, but recommends its modern clients in google-cloud-ruby where one exists.
Problems it solves
- call the Google Drive or Gmail API from a Ruby app
- use a Google API from Ruby that has no modern client library yet
- upload files to Google Drive from a Ruby script with a service account
Features
- one generated client gem per Google API and version
- Ruby objects for each API's data structures
- OAuth, API key and service account authentication via googleauth
- retry, pagination and timeout control
- code generator included
- OpenTelemetry tracing of HTTP calls
Limitations
Alternatives
The same job
These do what Google APIs Client Library for Ruby does.
- AWS SDK for Ruby Amazon Web Services' official Ruby gems for calling AWS services
