The Bitly package
This package allows to use bit.ly and j.mp URL shortening service from Haskell. Currently it supports shorten and expand requests.
API key is required. Please find yours at http://bit.ly/account/.
Configuration file (~/.bitly) format:
login = your_bit.ly_login apikey = your_API_key
Examples (command line utility):
$ echo "Text with an URL: http://example.com/" | bitly Text with an URL: http://bit.ly/2eSq1z $ bitly shorten http://example.com http://bit.ly/2eSq1z $ bitly expand http://bit.ly/2eSq1z http://example.com/
Properties
| Versions | 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.1.0 |
|---|---|
| Dependencies | base (≥3 & <5), directory, filepath, HaXml, HTTP (≥4000), regexpr |
| License | BSD3 |
| Maintainer | Sergey Astanin <s.astanin@gmail.com> |
| Stability | experimental |
| Category | Web |
| Home page | http://bitbucket.org/jetxee/hs-bitly/ |
| Bug tracker | http://bitbucket.org/jetxee/hs-bitly/issues/ |
| Executables | bitly |
| Upload date | Thu Dec 17 11:14:54 UTC 2009 |
| Uploaded by | SergeyAstanin |
| Build failure | ghc-6.10 (log), ghc-6.12 (log) |
Modules
- Network
Downloads
- Bitly-0.0.2.tar.gz (Cabal source package)
- package description (included in the package)