Skip to main content

Unofficial Plume URL API

Project description

Plume URL API

Plume URL API is an unofficial Python wrapper for the Plume URL shortening service.

Installation

To install the library, use pip:

pip install PlumeURL

Usage

Here's a basic example of how to use the library:

import asyncio
from plumeurl import PlumeUrlAPI

api = PlumeUrlAPI("your_api_key_here")

async def main():
    # Create a new URL
    short_url = await api.create_url("https://www.google.com/")
    print(f"Short URL: {short_url}")

    # Search for a URL
    search_result = await api.search_url("custom_id")
    print(f"Search Result: {search_result}")

    # Get a URL
    url_info = await api.get_url("short_url_id")
    print(f"URL Info: {url_info}")

    # Edit a URL
    edited_url = await api.edit_url("short_url_id", "https://www.new-url.com/")
    print(f"Edited URL: {edited_url}")

    # Delete a URL
    delete_result = await api.delete_url("short_url_id")
    print(f"Delete Result: {delete_result}")

if __name__ == "__main__":
    asyncio.run(main())

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

plumeurl-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plumeurl-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plumeurl-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for plumeurl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc47f18c924492d0897734452536130122837134dd9aae5b8693e07cecedf49c
MD5 622ccde396347f44cc3f62ef79912e38
BLAKE2b-256 97163d1cee4d4825c630f09920760e90e325c606e8593171df22bfce57f5576b

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumeurl-1.0.0.tar.gz:

Publisher: publish.yml on Awakno/plume-url-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plumeurl-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: plumeurl-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for plumeurl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f52c4f1fd686c8aa48921624871eadc5a35c5df81af1b9f0031828b8a1f9979
MD5 e328340a67ec5e90256c8f90c1cca9fe
BLAKE2b-256 343f54c617f2f94fe9ccbe3addecf3c2d44258e7298609885a7e758a87f3e5a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumeurl-1.0.0-py3-none-any.whl:

Publisher: publish.yml on Awakno/plume-url-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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