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 |
Retrieve pageview stats for a Blog.
See: Blogger API Reference for blogger.pageViews.get
.
Synopsis
- type PageViewsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pageviews" :> (QueryParams "range" PageViewsGetRange :> (QueryParam "alt" AltJSON :> Get '[JSON] Pageviews))))))
- pageViewsGet :: Text -> PageViewsGet
- data PageViewsGet
- pvgBlogId :: Lens' PageViewsGet Text
- pvgRange :: Lens' PageViewsGet [PageViewsGetRange]
REST Resource
type PageViewsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pageviews" :> (QueryParams "range" PageViewsGetRange :> (QueryParam "alt" AltJSON :> Get '[JSON] Pageviews)))))) Source #
A resource alias for blogger.pageViews.get
method which the
PageViewsGet
request conforms to.
Creating a Request
Creates a value of PageViewsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PageViewsGet Source #
Retrieve pageview stats for a Blog.
See: pageViewsGet
smart constructor.