Skip to main content

Wrapper for [Bitly API](https://api.ksprojects.me/bitly)

Project description

BitlyAPI


Installation

pip install bitly-api-python

Documentation

You can read our Documention on https://api.ksprojects.me/docs


Examples

Short Url

from BitlyAPI import shorten_urls

urls = ["https://github.com/Krishna-Singhal", "...", "..."]

response = shorten_url(urls)

# print all shotened urls
for i in response:
    print(i.long_url, i.short_url, i.status_txt)

Parameters

Parameter description
urls List of Long urls

Version

from BitlyAPI import __version__

print(__version__)

Copyright

Copyright (C) 2022 by Krishna-Singhal, < https://github.com/Krishna-Singhal >.

All rights reserved.

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

bitly-api-python-1.0.3.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

bitly_api_python-1.0.3-py3-none-any.whl (15.3 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