gogol-urlshortener-0.0.1: Google URL Shortener SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.URLShortener.URL.Get

Contents

Description

Expands a short URL or gets creation time and analytics.

See: URL Shortener API Reference for urlshortener.url.get.

Synopsis

REST Resource

type URLGetResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "shortUrl" Text :> (QueryParam "projection" URLGetProjection :> (QueryParam "alt" AltJSON :> Get `[JSON]` URL))))) Source

A resource alias for urlshortener.url.get method which the URLGet request conforms to.

Creating a Request

urlGet Source

Arguments

:: Text

ugShortURL

-> URLGet 

Creates a value of URLGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data URLGet Source

Expands a short URL or gets creation time and analytics.

See: urlGet smart constructor.

Request Lenses

ugProjection :: Lens' URLGet (Maybe URLGetProjection) Source

Additional information to return.

ugShortURL :: Lens' URLGet Text Source

The short URL, including the protocol.