shorten
shorten(longLink, url='https://zrm4csjv5a.execute-api.ap-southeast-1.amazonaws.com/Prod/shorten')
longLink
url
'https://zrm4csjv5a.execute-api.ap-southeast-1.amazonaws.com/Prod/shorten'
shortens the link inputted in the form of tenxor.sh
url = 'https://www.youtube.com/watch?v=U4yq5rWNA68' shorten(url)
'https://tenxor.sh/i6VR'
from nicHelper.shortenLink import shorten url = 'https://thanakijwanavit.github.io/nicHelper/' shorten(url)
'https://tenxor.sh/sbYV'