# LinksGPT URL Shortener Python SDK
[LinksGPT](https://www.linksgpt.com/) URL Shortener SDK, provides an easy way to interact with the [LinksGPT API](https://dev.linksgpt.com/docs/links/create), enabling developers to build applications that leverage the power of LinksGPT's features.
[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.
## Requirements
Python 2.7 and 3.4+
## Installation & Usage
### pip install
```sh
pip install linksgpt-url-shortener
```
Then import the package:
```python
import linksgpt_url_shortener
```
## Getting Started
```python
from __future__ import print_function
import time
import linksgpt_url_shortener
from linksgpt_url_shortener.rest import ApiException
from pprint import pprint
# Configure API key authorization: ApiKeyAuth
configuration = linksgpt_url_shortener.Configuration()
configuration.api_key['apiKey'] = 'YOUR_API_KEY'
# create an instance of the API class
api_instance = linksgpt_url_shortener.V1DomainsApi(linksgpt_url_shortener.ApiClient(configuration))
try:
# List your domains
api_response = api_instance.list_domains()
pprint(api_response)
except ApiException as e:
print("Exception when calling V1DomainsApi->list_domains: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *https://app.linksgpt.com*
API document: [LinksGPT DEV API Documentation & API Explorer](https://dev.linksgpt.com/docs/users/detail)
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*V1DomainsApi* | list_domains | **GET** /api/v1/domains | List your domains
*V1LinksApi* | create_link | **POST** /api/v1/links | Create a new link
*V1LinksApi* | delete_link | **DELETE** /api/v1/links/{id} | Delete a link
*V1LinksApi* | get_link_by_id | **GET** /api/v1/links/{id} | Get a link
*V1LinksApi* | list_links | **GET** /api/v1/links | List links
*V1LinksApi* | list_tags | **GET** /api/v1/links/tags | List tags
*V1LinksApi* | update_link | **PUT** /api/v1/links/{id} | Update a link
*V1LinksApi* | update_link_tags | **PUT** /api/v1/links/{id}/tags | Update the tags
*V1UsersApi* | get_account_details | **GET** /api/v1/users/me | Get account details
## Source Code
GitHub Repo: [url-shortener-sdk-python](https://github.com/LinksGPT/url-shortener-sdk-python)
## Author
service@linksgpt.com
Raw data
{
"_id": null,
"home_page": "https://github.com/LinksGPT/url-shortener-sdk-python",
"name": "linksgpt-url-shortener",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "LinksGPT, URL Shortener, URL Expander, Short Link, SEO",
"author": "LinksGPT",
"author_email": "service@linksgpt.com",
"download_url": "https://files.pythonhosted.org/packages/72/e2/6c24d67c5604f0b82f181f61e3c22360725b23a684102581456b6cf78092/linksgpt_url_shortener-1.0.0.tar.gz",
"platform": null,
"description": "# LinksGPT URL Shortener Python SDK\r\n[LinksGPT](https://www.linksgpt.com/) URL Shortener SDK, provides an easy way to interact with the [LinksGPT API](https://dev.linksgpt.com/docs/links/create), enabling developers to build applications that leverage the power of LinksGPT's features.\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## 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 linksgpt-url-shortener\r\n```\r\nThen import the package:\r\n```python\r\nimport linksgpt_url_shortener\r\n```\r\n\r\n## Getting Started\r\n\r\n```python\r\nfrom __future__ import print_function\r\nimport time\r\nimport linksgpt_url_shortener\r\nfrom linksgpt_url_shortener.rest import ApiException\r\nfrom pprint import pprint\r\n\r\n# Configure API key authorization: ApiKeyAuth\r\nconfiguration = linksgpt_url_shortener.Configuration()\r\nconfiguration.api_key['apiKey'] = 'YOUR_API_KEY'\r\n\r\n# create an instance of the API class\r\napi_instance = linksgpt_url_shortener.V1DomainsApi(linksgpt_url_shortener.ApiClient(configuration))\r\n\r\ntry:\r\n # List your domains\r\n api_response = api_instance.list_domains()\r\n pprint(api_response)\r\nexcept ApiException as e:\r\n print(\"Exception when calling V1DomainsApi->list_domains: %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*\r\n\r\nAPI document: [LinksGPT DEV API Documentation & API Explorer](https://dev.linksgpt.com/docs/users/detail)\r\n\r\nClass | Method | HTTP request | Description\r\n------------ | ------------- | ------------- | -------------\r\n*V1DomainsApi* | list_domains | **GET** /api/v1/domains | List your domains\r\n*V1LinksApi* | create_link | **POST** /api/v1/links | Create a new link\r\n*V1LinksApi* | delete_link | **DELETE** /api/v1/links/{id} | Delete a link\r\n*V1LinksApi* | get_link_by_id | **GET** /api/v1/links/{id} | Get a link\r\n*V1LinksApi* | list_links | **GET** /api/v1/links | List links\r\n*V1LinksApi* | list_tags | **GET** /api/v1/links/tags | List tags\r\n*V1LinksApi* | update_link | **PUT** /api/v1/links/{id} | Update a link\r\n*V1LinksApi* | update_link_tags | **PUT** /api/v1/links/{id}/tags | Update the tags\r\n*V1UsersApi* | get_account_details | **GET** /api/v1/users/me | Get account details\r\n\r\n## Source Code\r\n\r\nGitHub Repo: [url-shortener-sdk-python](https://github.com/LinksGPT/url-shortener-sdk-python)\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 Shortener Python SDK. It supports AI-driven URL shortening and expansion, custom domains, team roles, customizable QR codes, tracking and in-depth analytics, deep linking and enhanced link security.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/LinksGPT/url-shortener-sdk-python"
},
"split_keywords": [
"linksgpt",
" url shortener",
" url expander",
" short link",
" seo"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72e26c24d67c5604f0b82f181f61e3c22360725b23a684102581456b6cf78092",
"md5": "ca10b36608d657798132e6f4f387d429",
"sha256": "71cf97432537f8e108e29fe2b6028eee0da3bd857c09242fb56a7a62b00b604c"
},
"downloads": -1,
"filename": "linksgpt_url_shortener-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "ca10b36608d657798132e6f4f387d429",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25785,
"upload_time": "2024-11-16T21:29:10",
"upload_time_iso_8601": "2024-11-16T21:29:10.925473Z",
"url": "https://files.pythonhosted.org/packages/72/e2/6c24d67c5604f0b82f181f61e3c22360725b23a684102581456b6cf78092/linksgpt_url_shortener-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-16 21:29:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "LinksGPT",
"github_project": "url-shortener-sdk-python",
"github_not_found": true,
"lcname": "linksgpt-url-shortener"
}