Skip to main content

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.

Project description

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

service@linksgpt.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linksgpt_url_shortener-1.0.0.tar.gz (25.8 kB view details)

Uploaded Source

File details

Details for the file linksgpt_url_shortener-1.0.0.tar.gz.

File metadata

File hashes

Hashes for linksgpt_url_shortener-1.0.0.tar.gz
Algorithm Hash digest
SHA256 71cf97432537f8e108e29fe2b6028eee0da3bd857c09242fb56a7a62b00b604c
MD5 ca10b36608d657798132e6f4f387d429
BLAKE2b-256 72e26c24d67c5604f0b82f181f61e3c22360725b23a684102581456b6cf78092

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page