Skip to main content

an api for the ouo.io link shortener service

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

ouo-io-api-1.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file ouo-io-api-1.0.tar.gz.

File metadata

  • Download URL: ouo-io-api-1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for ouo-io-api-1.0.tar.gz
Algorithm Hash digest
SHA256 e59dd46f1966ef27a9b8eb46df0843eadc94136c2fd91e23e364a563f394cbd1
MD5 4064a80d6bd91add3c664500e46d4082
BLAKE2b-256 14a30241268e06e847a4b95bdff6c8cd2de2971a8bc9affc02697cb3561cefab

See more details on using hashes here.

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