• Installs:
  • Today: 216
  • All Time: 93968
Developer:userraygorodskij

GooglePlus API Package

The GooglePlus API is the programming interface to GooglePlus.

List of Endpoints
This is the list of endpoints this API includes. To add any of the endpoints to your app, please click on “Connect to endpoint” text.
See All
Discussions
See All
Readme

GooglePlus

GooglePlus Package

The GooglePlus API is the programming interface to GooglePlus. You can use the API to integrate your app or website with GooglePlus. This enables users to connect with each other for maximum engagement using GooglePlus features from within your application.

How to get credentials:

  1. Go to the Google API Console.
  2. From the project drop-down, select a project,or create a new one.
  3. Enable the GooglePlus API service.
  4. When the process completes, GooglePlus API appears in the list of enabled APIs.
  5. In the sidebar under "APIs & Services", select Credentials.

GooglePlus.getAccessToken

Exchanging authorization codes for access tokens and refresh tokens.To limit exposure that could result from the loss of this token, it has a medium lifetime, usually expiring after an hour or so.

FieldTypeDescription
clientIdcredentialsA string that identifies the request origin as Google. This string must be registered within your system as Google's unique identifier.
clientSecretcredentialsA secret string that you registered with Google for your service.
codeStringThe code Google received from either your sign-in or token exchange endpoint.
redirectUriStringThe URL to which to send the response to this request.

GooglePlus.refreshToken

Exchanging refresh tokens for access tokens.When your service is integrated with Google, this token is exclusively stored and used by Google. Google uses your server to exchange refresh tokens for access tokens, which are in turn used to access data.

FieldTypeDescription
clientIdcredentialsA string that identifies the request origin as Google. This string must be registered within your system as Google's unique identifier.
clientSecretcredentialsA secret string that you registered with Google for your service.
refreshTokenStringThe refresh token Google received from your getAccessToken endpoint.

GooglePlus.getUser

Get a person's profile.If successful, this method returns a person resource in the response body.If using the userId value "me", this method requires authentication using a token that has been granted the OAuth scope plus.login or plus.me.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
userIdStringThe ID of the person to get the profile for. The special value me can be used to indicate the authenticated user.
fieldsListList specifying which fields to include in a partial response.
prettyPrintSelectIf set to true, data output will include line breaks and indentation to make it more readable. If set to false, unnecessary whitespace is removed, reducing the size of the response. Defaults to true.
userIpStringIdentifies the IP address of the end user for whom the API call is being made.See more here.
quotaUserStringThese parameters are used for capping requests per user per second; you can't use them for whitelisting. See more here.

GooglePlus.getUsersByActivityId

List all of the people in the specified collection for a particular activity.The collection parameter specifies which people to list, such as people who have +1`d or reshared this activity. For large collections, results are paginated.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
activityIdStringThe ID of the activity to get the list of people for.
collectionSelectThe collection of people to list.Plusoners: List all people who have +1'd this activity.Resharers: List all people who have reshared this activity.
maxResultsNumberThe maximum number of people to include in the response, which is used for paging.
pageTokenStringThe continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

GooglePlus.getUsersBySearchQuery

Search all public profiles. For large result sets, results are paginated. For the most up-to-date search results, do not use a pageToken older than five minutes. Instead, restart pagination by repeating the original request (omitting pageToken).

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
searchQueryStringSpecify a query string for full text search of public text in all profiles.
languageSelectSpecify the preferred language to search with. See all list here.
maxResultsNumberThe maximum number of people to include in the response, which is used for paging.For any response, the actual number returned might be less than the specified maxResults. Acceptable values are 1 to 100, inclusive. (Default: 20).
pageTokenStringThe continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

GooglePlus.getCommentsByActivityId

List all of the comments for an activity.A comment has an actor who posted the comment, text content of the comment, when the comment was created and last updated, and other properties.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
activityIdStringThe ID of the activity to get comments for.
sortOrderSelectThe order in which to sort the list of comments.ascending: Sort oldest comments first(default),descending: Sort newest comments first.
maxResultsNumberThe maximum number of people to include in the response, which is used for paging.For any response, the actual number returned might be less than the specified maxResults. Acceptable values are 1 to 100, inclusive. (Default: 20).
pageTokenStringThe continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

GooglePlus.getComment

Get a comment.If successful, this method returns a comment resource in the response body.A comment has an actor who posted the comment, text content of the comment, when the comment was created and last updated, and other properties.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
commentIdStringThe ID of the person to get the profile for. The special value me can be used to indicate the authenticated user.
fieldsListList specifying which fields to include in a partial response.The format of the fields request parameter value is loosely based on XPath syntax. The supported syntax is summarized below; additional examples are provided in the following section.See more.
prettyPrintSelectIf set to true, data output will include line breaks and indentation to make it more readable. If set to false, unnecessary whitespace is removed, reducing the size of the response. Defaults to true.
userIpStringIdentifies the IP address of the end user for whom the API call is being made.See more here.
quotaUserStringThese parameters are used for capping requests per user per second; you can't use them for whitelisting.See more here.

GooglePlus.getActivity

Get an activity.If successful, this method returns a activity resource in the response body.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
activityIdStringThe ID of the activity to get.
fieldsListList specifying which fields to include in a partial response.The format of the fields request parameter value is loosely based on XPath syntax. The supported syntax is summarized below; additional examples are provided in the following section.See more.
prettyPrintSelectIf set to true, data output will include line breaks and indentation to make it more readable. If set to false, unnecessary whitespace is removed, reducing the size of the response. Defaults to true.
userIpStringIdentifies the IP address of the end user for whom the API call is being made.See more here.
quotaUserStringThese parameters are used for capping requests per user per second; you can't use them for whitelisting.See more here.

GooglePlus.getActivitiesByUserId

List all of the activities in the specified collection for a particular user.The collection parameter specifies which activities to list, such as public activities.

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
userIdStringThe ID of the user to get activities for. The special value me can be used to indicate the authenticated user.
collectionSelectThe collection of activities to list.public: All public activities created by the specified user.
maxResultsNumberThe maximum number of people to include in the response, which is used for paging.For any response, the actual number returned might be less than the specified maxResults. Acceptable values are 1 to 100, inclusive. (Default: 20)
pageTokenStringThe continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

GooglePlus.getActivitiesBySearchQuery

Search public activities.For large result sets, results are paginated. For large result sets, results are paginated. For the most up-to-date search results, do not use a pageToken older than five minutes. Instead, restart pagination by repeating the original request (omitting pageToken).

FieldTypeDescription
accessTokenStringThe access token Google received from your getAccessToken endpoint.
searchQueryStringFull-text search query string.
orderBySelectSpecifies how to order search results.Best: Sort activities by relevance to the user, most relevant first.Recent: Sort activities by published date, most recent first.(default)
maxResultsNumberThe maximum number of people to include in the response, which is used for paging.For any response, the actual number returned might be less than the specified maxResults. Acceptable values are 1 to 100, inclusive. (Default: 20).
pageTokenStringThe continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
languageSelectSpecify the preferred language to search with.See all list here.
x
circle
GooglePlus
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Why sign up to RapidAPI?

  • integrate
    Integrate APIs into your app
    Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
  • keys
    Save all API keys in one place
  • notifications
    Get notifications about API changes
  • stats
    Get stats and monitor API connections
__SING_UP_WITH_GITHUB__
__SING_UP_WITH_FACEBOOK__
__SING_UP_WITH_GOOGLE__
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view