Expand shortened URLs
Install all necessary Python packages with pip
.
$ pip install -r requirements.txt
Run the API as a simple Python script.
$ python api/app.py
Send the URL to be expanded as the url
parameter in a GET request.
$ curl http://localhost:5000?url=https://t.co/6Tx32jX6O9
{
"url": "https://techcrunch.com/2016/10/25/the-crunchies-nominations-close-soon/"
}