Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Search all public profiles.
See: Google+ API Reference for plus.people.search
.
Synopsis
- type PeopleSearchResource = "plus" :> ("v1" :> ("people" :> (QueryParam "query" Text :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed)))))))
- peopleSearch :: Text -> PeopleSearch
- data PeopleSearch
- psQuery :: Lens' PeopleSearch Text
- psLanguage :: Lens' PeopleSearch Text
- psPageToken :: Lens' PeopleSearch (Maybe Text)
- psMaxResults :: Lens' PeopleSearch Word32
REST Resource
type PeopleSearchResource = "plus" :> ("v1" :> ("people" :> (QueryParam "query" Text :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed))))))) Source #
A resource alias for plus.people.search
method which the
PeopleSearch
request conforms to.
Creating a Request
:: Text | |
-> PeopleSearch |
Creates a value of PeopleSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleSearch Source #
Search all public profiles.
See: peopleSearch
smart constructor.
Instances
Request Lenses
psQuery :: Lens' PeopleSearch Text Source #
Specify a query string for full text search of public text in all profiles.
psLanguage :: Lens' PeopleSearch Text Source #
Specify the preferred language to search with. See search language codes for available values.
psPageToken :: Lens' PeopleSearch (Maybe Text) Source #
The 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. This token can be of any length.
psMaxResults :: Lens' PeopleSearch Word32 Source #
The 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.