Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 621 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 621 Bytes

URL Shortener

A Python script that uses the TinyURL API to easily shorten URLs

Install:

Usage:

This program can be run in two ways:

  1. By argument:

    • This passes the URLs as an argument and returns a tiny url python main.py http://some.url/example

    • Multiple URLs can be passed too. python main.py http://some.url/example https://another.url/sample

  2. As input:

    • Simply run python main.py and enter any URL when prompted.
    • To quit, enter 'q' or 'quit' or 'exit' or just hit the RETURN/ENTER key.