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
==========
.. code-block:: bash
# windows
pip install ouo-io-api
# linux
pip3 install ouo-io-api
Usage
=====
.. code-block:: python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/h-enes-simsek/ouo-io-api",
"name": "ouo-io-api",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "ouo,ouo-io,link-shortener",
"author": "Hasan Enes \u015eim\u015fek",
"author_email": "enes1406@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/14/a3/0241268e06e847a4b95bdff6c8cd2de2971a8bc9affc02697cb3561cefab/ouo-io-api-1.0.tar.gz",
"platform": null,
"description": "\r\n\r\nOuo.io API \r\n=====================\r\nAn api for the ouo.io link shortener service that you can make money for each click on your shortened links.\r\n\r\nInstalling\r\n==========\r\n\r\n.. code-block:: bash\r\n\r\n # windows\r\n pip install ouo-io-api\r\n \r\n # linux\r\n pip3 install ouo-io-api\r\n\r\nUsage\r\n=====\r\n\r\n.. code-block:: python\r\n\r\n from ouo.api import Ouo\r\n\r\n # add your api key\r\n ouo = Ouo(\"your_api_key\")\r\n\r\n # this is blocking call\r\n link = ouo.short(\"https://hesimsek.com\")\r\n\r\n # result is either empty string '' or shortened URL string\r\n if(link):\r\n print(\"ouo link: \" + link)\r\n else:\r\n print(\"failed\")\r\n \r\nNotes \r\n=====\r\n\r\n1. Ouo.io generates different outputs for http:// and https:// URLs.\r\n\r\n2. Ouo.io assumes URLs with no scheme (http or https) as an http URL.\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "an api for the ouo.io link shortener service",
"version": "1.0",
"split_keywords": [
"ouo",
"ouo-io",
"link-shortener"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "4064a80d6bd91add3c664500e46d4082",
"sha256": "e59dd46f1966ef27a9b8eb46df0843eadc94136c2fd91e23e364a563f394cbd1"
},
"downloads": -1,
"filename": "ouo-io-api-1.0.tar.gz",
"has_sig": false,
"md5_digest": "4064a80d6bd91add3c664500e46d4082",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 2752,
"upload_time": "2022-12-09T19:58:27",
"upload_time_iso_8601": "2022-12-09T19:58:27.151060Z",
"url": "https://files.pythonhosted.org/packages/14/a3/0241268e06e847a4b95bdff6c8cd2de2971a8bc9affc02697cb3561cefab/ouo-io-api-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-09 19:58:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "h-enes-simsek",
"github_project": "ouo-io-api",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ouo-io-api"
}