All Projects → googleworkspace → Browser Samples

googleworkspace / Browser Samples

Licence: apache-2.0
Web samples for Google Workspace APIs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Browser Samples

Node Samples
Node samples for Google Workspace APIs.
Stars: ✭ 260 (+58.54%)
Mutual labels:  samples, gsuite
Php Samples
PHP samples for Google Workspace APIs
Stars: ✭ 174 (+6.1%)
Mutual labels:  samples, gsuite
Java Samples
☕ Java samples for Google Workspace APIs.
Stars: ✭ 179 (+9.15%)
Mutual labels:  samples, gsuite
Apps Script Samples
Apps Script samples for Google Workspace products.
Stars: ✭ 3,301 (+1912.8%)
Mutual labels:  samples, gsuite
Android Samples
Android samples for Google Workspace APIs
Stars: ✭ 599 (+265.24%)
Mutual labels:  samples, gsuite
Ruby Samples
💎 Ruby samples for Google Workspace APIs
Stars: ✭ 57 (-65.24%)
Mutual labels:  samples, gsuite
Python Samples
🐍 Python samples for Google Workspace APIs
Stars: ✭ 602 (+267.07%)
Mutual labels:  samples, gsuite
Go Samples
Go samples for Google Workspace APIs
Stars: ✭ 117 (-28.66%)
Mutual labels:  samples, gsuite
Apps Script Oauth1
An OAuth1 library for Google Apps Script.
Stars: ✭ 115 (-29.88%)
Mutual labels:  gsuite
All Our Aggregates Are Wrong Demos
A microservices powered e-commerce shopping cart sample - based on SOA principles. Demos and sample for my "All our Aggregates are Wrong" talk
Stars: ✭ 130 (-20.73%)
Mutual labels:  samples
Composer Sample Applications
⚠️ ⚠️ ⚠️ Hyperledger Composer has been deprecated ⚠️ ⚠️ ⚠️
Stars: ✭ 110 (-32.93%)
Mutual labels:  samples
Animation Samples
Multiple samples showing the best practices in animation on Android.
Stars: ✭ 1,841 (+1022.56%)
Mutual labels:  samples
Vsphere Automation Sdk Java
Java samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
Stars: ✭ 132 (-19.51%)
Mutual labels:  samples
Terraform Up And Running Code
Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
Stars: ✭ 1,739 (+960.37%)
Mutual labels:  samples
Dotnetcore.samples
.NET Core Samples - Code it Yourself...
Stars: ✭ 147 (-10.37%)
Mutual labels:  samples
Office Js Snippets
A collection of code snippets built with Script Lab
Stars: ✭ 108 (-34.15%)
Mutual labels:  samples
Awesome React
A collection of awesome things regarding React ecosystem
Stars: ✭ 46,270 (+28113.41%)
Mutual labels:  samples
Add Ons Samples
Sample Google Workspace Add-ons
Stars: ✭ 159 (-3.05%)
Mutual labels:  samples
Using Zf3 Book Samples
Samples for the Using Zend Framework 3 book
Stars: ✭ 143 (-12.8%)
Mutual labels:  samples
Scala Samples
There are pieces of scala code that explain Scala syntax and related things - like what you can do with all this
Stars: ✭ 125 (-23.78%)
Mutual labels:  samples

Google Workspace Browser Samples Build Status

Browser samples for Google Workspace APIs docs.

APIs

Admin SDK

Apps Script API

Calendar

Classroom

Drive

Docs

Gmail

People

Sheets

Slides

Setup

  1. Clone this repository.
  2. Follow the README instructions in the API folder to run and test samples.

Troubleshooting

Here are some tips for troubleshooting errors when running these samples:

  • Be sure to create a local HTTP server to server the HTML page in the quickstart example. Otherwise the gapi client may encounter errors.
  • Check your browser console for errors. In Chrome, this is under View > Developer > JavaScript Console

Below are some possible errors you may encounter:

Error: origin_mismatch

This error will occur during the authorization flow if the host and port used to serve the web page doesn't match an allowed JavaScript origin on your Google Developers Console project. Make sure to correctly specify Authorized JavaScript origins in the quickstart steps.

idpiframe_initialization_failed: Failed to read the 'localStorage' property from 'Window'

The Google Sign-in library requires that 3rd party cookies and data storage is enabled in the web browser. For users that run into this error, prompt them to enable the feature or add an exception for accounts.google.com.

idpiframe_initialization_failed: Not a valid origin for the client

The Google Sign-in library requires that the domain registered in the Google Developers Console matches the domain being used to host the web page. Make sure to correctly specify Authorized JavaScript origins in the quickstart steps.

Linting

This project uses htmllint.

Install & run:

sudo npm install -g htmllint-cli
htmllint

Configure options in the .htmllintrc.

Client Library

Google Workspace APIs use the Google API Javascript client library.

Contributing

Contributions welcome! See the Contributing Guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].