This Choreo lists a user's circles. The documentation for this Google+ resource can be found here.
Note that this method requires that you request the following scope during the OAuth process:
https://www.googleapis.com/auth/plus.circles.read
https://www.googleapis.com/auth/plus.me
The Fields input can be used to reduce the number of fields returned in the response. The syntax for using this parameter is loosely based on XPath. Below are some points to remember when using this input:
- Fields can be provided separated by commas.
- When fields are nested within other fields, you can refer to them using a path (i.e. urls/value)
- Specify field sub-selectors to request only specific sub-fields by using parentheses "( )" after any selected field.
Here's an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
The following is a sample of the JSON information returned by this Choreo:
{
"kind": "plus#circleFeed",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/7JdwKvt1ZtkK-WV3cy3f7qgeaLs\"",
"title": "Google+ List of Circles",
"selfLink": "https://www.googleapis.com/plus/v1domains/people/102567911056238170895/circles",
"totalItems": 5,
"items": [
{
"kind": "plus#circle",
"id": "23f5ef0589ab1e19",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/mVF165qbc-JHUGnF1uAMInW-U-M\"",
"displayName": "Friends",
"description": "Your real friends, the ones you feel comfortable sharing private details with.",
"people": {
"totalItems": 1
},
"selfLink": "https://www.googleapis.com/plus/v1domains/circles/23f5ef0589ab1e19"
},
{
"kind": "plus#circle",
"id": "7d7ff4290e423ee6",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/tXaQ1smycwoSKrwfNORdje0Mx8M\"",
"displayName": "Family",
"description": "Your close and extended family, with as many or as few in-laws as you want.",
"people": {
"totalItems": 0
},
"selfLink": "https://www.googleapis.com/plus/v1domains/circles/7d7ff4290e423ee6"
},
{
"kind": "plus#circle",
"id": "2a6fb64f08b7c0bd",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/k_RWtTjn3qk3V0XZe9iM2Y92YOs\"",
"displayName": "Acquaintances",
"description": "A good place to stick people you've met but aren't particularly close to.",
"people": {
"totalItems": 0
},
"selfLink": "https://www.googleapis.com/plus/v1domains/circles/2a6fb64f08b7c0bd"
},
{
"kind": "plus#circle",
"id": "285292da0c7c1f40",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/ErAEcwnn-WifbXgGviH6e_BoMkg\"",
"displayName": "Following",
"description": "People you don't know personally, but whose posts you find interesting.",
"people": {
"totalItems": 0
},
"selfLink": "https://www.googleapis.com/plus/v1domains/circles/285292da0c7c1f40"
},
{
"kind": "plus#circle",
"id": "6d6e74ae8d288556",
"etag": "\"4AfFS0bMbgNqlh5XedtAb_YmX_o/vZ6h7PlD_kpibJ8dwB2hB1SNPlY\"",
"displayName": "Temboo",
"description": "",
"people": {
"totalItems": 12
},
"selfLink": "https://www.googleapis.com/plus/v1domains/circles/6d6e74ae8d288556"
}
]
}