short-url-expander


Nameshort-url-expander JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/LinksGPT/url-expander-sdk-python
SummaryLinksGPT URL Expander SDK, provides an easy way to interact with the URL Expander API - Expand shortened URLs (short link) and retrieves details about redirections and the final destination URL.
upload_time2024-11-17 07:48:19
maintainerNone
docs_urlNone
authorLinksGPT
requires_pythonNone
licenseMIT License
keywords seo url expand link social media
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LinksGPT URL Expander Python SDK
Uncover truth behind short links to avoid malicious sites and privacy breaches. [LinksGPT](https://www.linksgpt.com/) URL Expander SDK, provides an easy way to interact with the [URL Expander](https://www.linksgpt.com/url-expander) API - Expands shortened URLs and retrieves details about redirections and the final destination URL.

[LinksGPT](https://www.linksgpt.com/) is a professional link management platform for custom short urls, brand building and conversion optimization. It offers intelligent URL shortening and expansion, custom domains, team roles, customizable QR codes, tracking and AI-based in-depth analytics, deep linking, openAPI and enhanced link security. Powered by AI, it provides intelligent insights and recommendations based on user behavior and click patterns, support data-driven brand strategies and marketing decisions.

## What is URL Expander?

[URL Expander](https://www.linksgpt.com/url-expander) is a tool that reveals the final destination of any URL, including shortened links. It allows users to see the original or expanded URL that is hidden behind a short link. By entering a shortened URL, the tool retrieves the actual URL destination and provides users with more information about where they will be directed if they click on the link. This is especially important for security purposes, as shortened URLs can be a means to disguise malicious or harmful links. By expanding the link, users can assess its legitimacy and make more informed decisions about whether to click on it.

## Requirements

Python 2.7 and 3.4+

## Installation & Usage
### pip install

```sh
pip install short-url-expander
```
Then import the package:
```python
import url_expander
```

## Getting Started

```python
from __future__ import print_function
import time
import url_expander
from url_expander.rest import ApiException
from pprint import pprint

# Configure the client
configuration = url_expander.Configuration()
# create an instance of the API class
api_instance = url_expander.URLExpanderApi(url_expander.ApiClient(configuration))
body = url_expander.ToolsUrlexpanderBody(url="https://0t1.co/linksgptapidoc") # ToolsUrlexpanderBody | JSON payload containing the URL to expand

try:
    # Expand a shortened URL
    api_response = api_instance.url_expander(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling URLExpanderApi->url_expander: %s\n" % e)
```

## Documentation for API Endpoints

All URIs are relative to *https://app.linksgpt.com/api/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*URLExpanderApi* | url_expander | **POST** /tools/url-expander | Expand a shortened URL

## Source Code

GitHub Repo: [url-expander-sdk-python](https://github.com/LinksGPT/url-expander-sdk-python)

## Documentation For Authorization

 All endpoints do not require authorization.


## Author

service@linksgpt.com



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/LinksGPT/url-expander-sdk-python",
    "name": "short-url-expander",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "SEO, url, expand, link, social media",
    "author": "LinksGPT",
    "author_email": "service@linksgpt.com",
    "download_url": "https://files.pythonhosted.org/packages/6f/84/23ade482ead762f3501c6d3e2de02a28639c000aae702a038fa1cdd3ea6b/short_url_expander-1.0.0.tar.gz",
    "platform": null,
    "description": "# LinksGPT URL Expander Python SDK\r\nUncover truth behind short links to avoid malicious sites and privacy breaches. [LinksGPT](https://www.linksgpt.com/) URL Expander SDK, provides an easy way to interact with the [URL Expander](https://www.linksgpt.com/url-expander) API - Expands shortened URLs and retrieves details about redirections and the final destination URL.\r\n\r\n[LinksGPT](https://www.linksgpt.com/) is a professional link management platform for custom short urls, brand building and conversion optimization. It offers intelligent URL shortening and expansion, custom domains, team roles, customizable QR codes, tracking and AI-based in-depth analytics, deep linking, openAPI and enhanced link security. Powered by AI, it provides intelligent insights and recommendations based on user behavior and click patterns, support data-driven brand strategies and marketing decisions.\r\n\r\n## What is URL Expander?\r\n\r\n[URL Expander](https://www.linksgpt.com/url-expander) is a tool that reveals the final destination of any URL, including shortened links. It allows users to see the original or expanded URL that is hidden behind a short link. By entering a shortened URL, the tool retrieves the actual URL destination and provides users with more information about where they will be directed if they click on the link. This is especially important for security purposes, as shortened URLs can be a means to disguise malicious or harmful links. By expanding the link, users can assess its legitimacy and make more informed decisions about whether to click on it.\r\n\r\n## Requirements\r\n\r\nPython 2.7 and 3.4+\r\n\r\n## Installation & Usage\r\n### pip install\r\n\r\n```sh\r\npip install short-url-expander\r\n```\r\nThen import the package:\r\n```python\r\nimport url_expander\r\n```\r\n\r\n## Getting Started\r\n\r\n```python\r\nfrom __future__ import print_function\r\nimport time\r\nimport url_expander\r\nfrom url_expander.rest import ApiException\r\nfrom pprint import pprint\r\n\r\n# Configure the client\r\nconfiguration = url_expander.Configuration()\r\n# create an instance of the API class\r\napi_instance = url_expander.URLExpanderApi(url_expander.ApiClient(configuration))\r\nbody = url_expander.ToolsUrlexpanderBody(url=\"https://0t1.co/linksgptapidoc\") # ToolsUrlexpanderBody | JSON payload containing the URL to expand\r\n\r\ntry:\r\n    # Expand a shortened URL\r\n    api_response = api_instance.url_expander(body)\r\n    pprint(api_response)\r\nexcept ApiException as e:\r\n    print(\"Exception when calling URLExpanderApi->url_expander: %s\\n\" % e)\r\n```\r\n\r\n## Documentation for API Endpoints\r\n\r\nAll URIs are relative to *https://app.linksgpt.com/api/v1*\r\n\r\nClass | Method | HTTP request | Description\r\n------------ | ------------- | ------------- | -------------\r\n*URLExpanderApi* | url_expander | **POST** /tools/url-expander | Expand a shortened URL\r\n\r\n## Source Code\r\n\r\nGitHub Repo: [url-expander-sdk-python](https://github.com/LinksGPT/url-expander-sdk-python)\r\n\r\n## Documentation For Authorization\r\n\r\n All endpoints do not require authorization.\r\n\r\n\r\n## Author\r\n\r\nservice@linksgpt.com\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "LinksGPT URL Expander SDK, provides an easy way to interact with the URL Expander API - Expand shortened URLs (short link) and retrieves details about redirections and the final destination URL.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/LinksGPT/url-expander-sdk-python"
    },
    "split_keywords": [
        "seo",
        " url",
        " expand",
        " link",
        " social media"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f8423ade482ead762f3501c6d3e2de02a28639c000aae702a038fa1cdd3ea6b",
                "md5": "59aad1bf3b399c3d42ce84484469cbbc",
                "sha256": "c07221c5b9d5d8422755f18a9d15e9fcde88e2e48f7e4d56bf48329a3bdcfa3d"
            },
            "downloads": -1,
            "filename": "short_url_expander-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "59aad1bf3b399c3d42ce84484469cbbc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17196,
            "upload_time": "2024-11-17T07:48:19",
            "upload_time_iso_8601": "2024-11-17T07:48:19.113609Z",
            "url": "https://files.pythonhosted.org/packages/6f/84/23ade482ead762f3501c6d3e2de02a28639c000aae702a038fa1cdd3ea6b/short_url_expander-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-17 07:48:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LinksGPT",
    "github_project": "url-expander-sdk-python",
    "github_not_found": true,
    "lcname": "short-url-expander"
}
        
Elapsed time: 0.97001s