Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/googleworkspace/ruby-samples

💎 Ruby samples for Google Workspace APIs
https://github.com/googleworkspace/ruby-samples

google-workspace gsuite ruby samples

Last synced: 3 months ago
JSON representation

💎 Ruby samples for Google Workspace APIs

Awesome Lists containing this project

README

        

# Google Workspace Ruby Samples [![Build Status](https://travis-ci.org/googleworkspace/ruby-samples.svg?branch=master)](https://travis-ci.org/googleworkspace/ruby-samples)

A collection of samples that demonstrate how to call Google Workspace APIs in Ruby.

## APIs

### Admin SDK

- [Directory Quickstart](https://developers.google.com/admin-sdk/directory/v1/quickstart/ruby)
- [Reports Quickstart](https://developers.google.com/admin-sdk/reports/v1/quickstart/ruby)
- [Reseller Quickstart](https://developers.google.com/admin-sdk/reseller/v1/quickstart/ruby)

### Apps Script

- [Quickstart](https://developers.google.com/apps-script/api/quickstart/ruby)

### Calendar

- [Quickstart](https://developers.google.com/google-apps/calendar/quickstart/ruby)

### Classroom

- [Quickstart](https://developers.google.com/classroom/quickstart/ruby)

### Docs

- [Quickstart](https://developers.google.com/docs/api/quickstart/ruby)

### Drive V3

- [Quickstart](https://developers.google.com/drive/v3/web/quickstart/ruby)
- [Snippets](https://developers.google.com/drive/v3/web/about-sdk)

### Gmail

- [Quickstart](https://developers.google.com/gmail/api/quickstart/ruby)

### Sheets

- [Quickstart](https://developers.google.com/sheets/api/quickstart/ruby)
- [Snippets](https://developers.google.com/sheets/api/guides/concepts)

### Slides

- [Quickstart](https://developers.google.com/slides/quickstart/ruby)
- [Snippets](https://developers.google.com/slides/how-tos/overview)

### Tasks

- [Quickstart](https://developers.google.com/google-apps/tasks/quickstart/ruby)

## Tools

### Lint

```
gem install rubocop
rubocop
```

It should not produce any errors, i.e.:

```sh
Inspecting 24 files
........................

24 files inspected, no offenses detected
```

You can fix basic errors with:

```
rubocop --fix
```