|
|
|
| Description |
| This package allows to use bit.ly and j.mp URL shortening service
from Haskell programs. See also Network.TinyURL module.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Service credentials.
| | Constructors | | Instances | |
|
|
|
| Account to use with bit.ly
|
|
|
| Account to use with j.mp
|
|
|
| :: Account | Account to use
| | -> String | Long URL
| | -> IO Result | Either error or short bit.ly URL
| | Given a long URL, shorten encodes it as a shorter one.
|
|
|
|
| :: Account | Account to use
| | -> String | Short bit.ly URL
| | -> IO Result | Either error or long source URL
| | Given a short bit.ly URL, expand decodes it back into a long source URL.
|
|
|
|
| Either an error message or a modified URL
|
|
| Produced by Haddock version 2.4.2 |