Skip to main content

Python url shortner

Project description

📦 SHORTNERS

telegram badge telegram badge telegram badge

INSTALLATION

pip install shortners
import asyncio
from Shortners import Shortner

shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://tnshort.net/api"
contents_url = "https://github.com/Clinton-Abraham"

core = Shortner(shortner_api, shortner_url)

async def test():
    o = await core.shortlink(contents_url)
    print(o)

asyncio.run(test())
import asyncio
from Shortners import Shortner

shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://xxxxxx.net/api"
contents_url = "https://github.com/Clinton-Abraham"

core = Shortner(shortner_api, shortner_url)

async def test():
    o = await core.clinton(contents_url)
    print(o)

asyncio.run(test())

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

Shortners-1.1.5.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Shortners-1.1.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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