Skip to main content

Ouo.io API

An api for the ouo.io link shortener service that you can make money for each click on your shortened links.

Installing

# windows
pip install ouo-io-api

# linux
pip3 install ouo-io-api

Usage

from ouo.api import Ouo

# add your api key
ouo = Ouo("your_api_key")

# this is blocking call
link = ouo.short("https://hesimsek.com")

# result is either empty string '' or shortened URL string
if(link):
    print("ouo link: " + link)
else:
    print("failed")

Notes

  1. Ouo.io generates different outputs for http:// and https:// URLs.

  2. Ouo.io assumes URLs with no scheme (http or https) as an http URL.

Metadata

Release files for ouo-io-api 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ouo-io-api 1.0
File Size Uploaded
ouo-io-api-1.0.tar.gz 2.8 kB Details

Release files / ouo-io-api-1.0.tar.gz

Download URL ouo-io-api-1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e59dd46f1966ef27a9b8eb46df0843eadc94136c2fd91e23e364a563f394cbd1
BLAKE2b-256 checksum
How to use checksums
14a30241268e06e847a4b95bdff6c8cd2de2971a8bc9affc02697cb3561cefab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.1

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page