LinksGPT URL Shortener Python SDK
LinksGPT URL Shortener SDK, provides an easy way to interact with the LinksGPT API, enabling developers to build applications that leverage the power of LinksGPT's features.
LinksGPT 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
pip install linksgpt-url-shortener
Then import the package:
import linksgpt_url_shortener
Getting Started
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
| 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
Author
Metadata
Release files for linksgpt-url-shortener 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linksgpt_url_shortener-1.0.0.tar.gz | 25.8 kB | Details |
Release files / linksgpt_url_shortener-1.0.0.tar.gz
| Download URL | linksgpt_url_shortener-1.0.0.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71cf97432537f8e108e29fe2b6028eee0da3bd857c09242fb56a7a62b00b604c
|
|
BLAKE2b-256 checksum How to use checksums |
72e26c24d67c5604f0b82f181f61e3c22360725b23a684102581456b6cf78092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.7
|