- Install pyshorteners module by running
pip install pyshorteners
in the terminal.- Read the docs here if you want 🤪
I've used bitly api to shorten links.
- If you'll also use bitly api then get a access token here.
- And you're ready to go!
- An example on how pyshorteners work.
- Some more features except just shortening links, such as:
- Expanding the short link(to it's original form)
- Total number of clicks on this link.