Expand-URL : Python API to get long URL from a shortened URL

Sahil Dua (~sahil)




Expand-URL is an API (Application Program Interface) developed using light-weight Python framework - "Bottle".

Expand-URL returns a chain of URLs which a shortened URL will go through, while navigating to the final long URL.[HTML_REMOVED]In short, now you have an end point where you can ping a short URL (shortened by any of the URL shorteners), and get the final long URL as the response to the API call.

In Dev Sprint, I'll be replicating this API and will teach how to build APIs using Python (Bottle framework).


  • Basic knowledge of Python
  • Knowledge of various HTTP response codes
  • Enthusiasm to learn how to build basic, yet powerful APIs

Content URLs:

GitHub Repo - https://github.com/sahildua2305/expand-url

Speaker Info:

Sahil is an undergraduate student with extensive experience in Python scripting & development. He brings in experience of developing more than a dozen web applications and utility apps. He has worked with more than 5 startups so far including HackerRank , Refiral and delivered efficient and neat software solutions. A lot of his projects have been recognized by social media heads of media startups like NextBigWhat, Techcrunch etc. He's exceptionally passionate about APIs and is interested in helping others in developing highly scalable APIs using Python.

Speaker Links:

Website: http://sahildua.com

Blog: http://sahildua.com/blog/

Portfolio: http://devpost.com/sahildua2305

GitHub: http://github.com/sahildua2305

LinkedIn: https://www.linkedin.com/in/sahildua2305

Id: 180
Section: Others
Type: Dev Sprint
Target Audience: Beginner
Last Updated: