# Google-Oauth-API **Repository Path**: mirrors_Jam3/Google-Oauth-API ## Basic Information - **Project Name**: Google-Oauth-API - **Description**: This module provides a simple API for Ouath via the Google Client API. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Google-Oauth-API [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges) This module provides a simple API for Ouath via the [Google Client API](https://developers.google.com/api-client-library/javascript/dev/dev_jscript). [![NPM](https://nodei.co/npm/google-oauth-api.png?compact=true)](https://nodei.co/npm/google-oauth-api/) ## Usage #### Signin Get API Credentials from [Google's API Console](https://console.developers.google.com/project) ``` var clientId = '*****************'; var apiKey = '*************'; var scopes = 'https://www.googleapis.com/auth/analytics'; require('google-oauth-api').signin(clientId,apiKey,scopes, onLoginCallback); ``` #### Signout ``` require('google-oauth-api').signout(); ``` ## License MIT, see [LICENSE.md](https://github.com/Morrisai/Google-Oauth-API/blob/master/LICENSE.md) for details.