Metadata-Version: 2.1
Name: Urlcut.py
Version: 1.0.9
Summary: Official Urlcut Public API package.
Home-page: https://urlcut.app
Author: Urlcut
Author-email: support@urlcut.app
License: MIT
Keywords: urlcut
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE.txt

<h1 align="center">Urlcut.py</h1>

<h3 align="center">This is the official Urlcut Python package.</h3>



### Install


```sh

pip install Urlcut.py

```



### Usage



```py

import urlcutpy as Urlcut
Urlcut.Authenticate("API-Key")

```


### How to shortend a link


```py

Response = Urlcut.Create("https://www.example.com")
print(Response)

```



> Output



```json

{

  "success": true,

  "shortened": "CxTYCb",

  "domain": "example.com",

  "credits": 0.4
}

```



### How to delete an existing short link



```js

Response = Urlcut.Delete("Example-Short")
print(Response)

```



> Output



```json

{

  "success": true

}

```



### How to get the analytics of a short link



```js

Response = Urlcut.Analytics("Example-Short")
print(Response)

```



> Output



```json

{

  "success": true,

  "countriesOfTheUsers": [ { "DE": 1 } ],

  "usersDeviceType": { "PC": 1, "PHONE": 0 }

}

```
