Metadata-Version: 2.0
Name: lnk
Version: 0.1.2
Summary: A command-line URL-shortening client.
Home-page: https://github.com/goldsborough/lnk
Author: Peter Goldsborough
Author-email: petergoldsborough@hotmail.com
License: MIT
Keywords: lnk,url-shortening,bitly,googl,tinyurl
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Internet
Classifier: Topic :: Desktop Environment
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: click (==4.1)
Requires-Dist: coverage (==3.7.1)
Requires-Dist: ecstasy (==0.1.3)
Requires-Dist: google-api-python-client (==1.4.2)
Requires-Dist: overrides (==0.5)
Requires-Dist: pyperclip (==1.5.11)
Requires-Dist: requests (==2.7.0)
Requires-Dist: ordereddict (==1.1)
Requires-Dist: enum34 (==1.0.4)

***
lnk
***

.. image:: https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square
 :target: http://goldsborough.mit-license.org

.. image:: http://img.shields.io/gratipay/goldsborough.svg?style=flat-square
 :target: https://gratipay.com/~goldsborough/

A command-line URL-shortening client for bitly, tinyurl and goo.gl.

How a smart dev (you) shortens a URL:

.. image:: https://goo.gl/Y5eCsd

But **lnk** is *MORE*. **lnk** can also expand short URLs:

.. code-block:: bash

	$ lnk -e http://bit.ly/1NWAPWn
	┌─────────────────────────────────────────────┐
	│ http://bit.ly/1NWAPWn => http://google.com/     │
	└─────────────────────────────────────────────┘

Get all sorts of awesome stats and metrics for a URL:

.. code-block:: bash

	$ lnk stats -i http://bit.ly/1NWAPWn
	┌───────────────────────────────┐
	│ URL: http://bit.ly/1EHdqZq       │
	│ Referrers:                       │
	│  + Since forever:                │
	│    - Direct: 503                 │
	│    - http://bit.ly/1EHdqZq: 1    │
	│ Clicks:                          │
	│  + Since forever: 504            │
	│ Countries:                       │
	│  + Since forever:                │
	│    - United States: 197          │
	│    - United Kingdom: 50          │
	│    - Germany: 45                 │
	│    - France: 27                  │
	│    - Canada: 20                  │
	│    - Netherlands: 16             │
	│    - Russian Federation: 12      │
	│    - Australia: 11               │
	│    - Spain: 10                   │
	│    - Brazil: 9                   │
	└───────────────────────────────┘

Tell you about yourself:

.. code-block:: bash

	$ lnk user -a
	┌────────────────────────────────────────────────────┐
	│ Full Name: Peter Goldsborough                           │
	│ Login: goldsborough                                     │
	│ Member Since: Wed Aug 26 13:57:00 2015                  │
	│ Link privacy: public                                    │
	│ ...                                                     │
	└────────────────────────────────────────────────────┘

And what you've been up to:

.. code-block:: bash

	$ lnk history --last 4 days
	┌────────────────────────────┐
	│ Last 4 days:                  │
	│  + http://bit.ly/1OQM9nA      │
	│  + http://bit.ly/1Km6CB1      │
	│  + http://bit.ly/1OQLTov      │
	│  + http://on.fb.me/1OQHeD0    │
	└────────────────────────────┘


**lnk** is your fast, complete and sweet destination for shortening URLs and everything connected to it.

Installation
============

Whoop:

.. code-block:: bash

	$ pip install lnk

dee-doo.

`Documentation <http://lnk.rtfd.org/>`_
=======================================

Documentation for the project's source alongside a detailed description of how to effectively use **lnk** can be found `here <http://lnk.rtfd.org/>`_.

`License <http://goldsborough.mit-license.org>`_
================================================

**lnk** is released under the `MIT License <http://goldsborough.mit-license.org>`_.

Authors
=======

Peter Goldsborough & `cat <https://goo.gl/IpUmJn>`_ :heart:


