GooglePlus

FREE
By raygorodskij
Updated 5 months ago
Social
1.3/10
Popularity Score
233ms
Latency
100%
Success Rate

GooglePlus API Documentation

The GooglePlus API is the programming interface to GooglePlus.

View API Details
POSTgetAccessToken
POSTgetActivitiesBySearchQuery
POSTgetActivitiesByUserId
POSTgetActivity
POSTgetComment
POSTgetCommentsByActivityId
POSTgetUser
POSTgetUsersByActivityId
POSTgetUsersBySearchQuery
POSTrefreshToken
POSTgetAccessToken

Exchanging authorization codes for access tokens and refresh tokens.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
codeSTRING
REQUIREDThe code Google received from either your sign-in or token exchange endpoint.
clientSecretCREDENTIALS
REQUIREDA secret string that you registered with Google for your service.
clientIdCREDENTIALS
REQUIREDA string that identifies the request origin as Google. This string must be registered within your system as Google's unique identifier.
redirectUriSTRING
REQUIREDThe URL to which to send the response to this request.
Code Snippet
unirest.post("https://GooglePlusraygorodskijV1.p.rapidapi.com/getAccessToken")
.header("X-RapidAPI-Host", "GooglePlusraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://GooglePlusraygorodskijV1.p.rapidapi.com/getAccessToken
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://GooglePlusraygorodskijV1.p.rapidapi.com/getAccessToken")
.header("X-RapidAPI-Host", "GooglePlusraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication