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 public activities.
See: Google+ API Reference for plus.activities.search
.
Synopsis
- type ActivitiesSearchResource = "plus" :> ("v1" :> ("activities" :> (QueryParam "query" Text :> (QueryParam "orderBy" ActivitiesSearchOrderBy :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed))))))))
- activitiesSearch :: Text -> ActivitiesSearch
- data ActivitiesSearch
- asOrderBy :: Lens' ActivitiesSearch ActivitiesSearchOrderBy
- asQuery :: Lens' ActivitiesSearch Text
- asLanguage :: Lens' ActivitiesSearch Text
- asPageToken :: Lens' ActivitiesSearch (Maybe Text)
- asMaxResults :: Lens' ActivitiesSearch Word32
REST Resource
type ActivitiesSearchResource = "plus" :> ("v1" :> ("activities" :> (QueryParam "query" Text :> (QueryParam "orderBy" ActivitiesSearchOrderBy :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed)))))))) Source #
A resource alias for plus.activities.search
method which the
ActivitiesSearch
request conforms to.
Creating a Request
Creates a value of ActivitiesSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivitiesSearch Source #
Search public activities.
See: activitiesSearch
smart constructor.
Instances
Request Lenses
asOrderBy :: Lens' ActivitiesSearch ActivitiesSearchOrderBy Source #
Specifies how to order search results.
asLanguage :: Lens' ActivitiesSearch Text Source #
Specify the preferred language to search with. See search language codes for available values.
asPageToken :: Lens' ActivitiesSearch (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.
asMaxResults :: Lens' ActivitiesSearch Word32 Source #
The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.