Skip to main content

Short URLs using the warp.lol APIs.

Project description

A simple yet powerful SDK for warp.lol

Short a URL

from warplol import WarpLol

url = WarpLol.getshort(URL) # URL is the url that you want to short, with or without https://
print(url) # return shorted URL

Get shorted url redirect

from warplol import WarpLol

url = WarpLol.geturl(URL) # URL is the warp.lol URL. It can both be the full url (https://warp.lol/BbSg, with or without https://) or the last part (BbSg)
print(url) # return the full redirect (https://google.com for example)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warplol-1.0.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page