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.1.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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plumeurl-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a07a3d09fad664e3a22cd43e1c93bf0eadca2f184032d005c51cb678868e5b68
MD5 a7f7bb6cdf57ffbcc0872aed95e1b1ff
BLAKE2b-256 63c4e104840563f50873d2a04832c5f175fa9f63b7152c42ed535449e4de123f

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumeurl-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: plumeurl-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6002316f86d6b318cf1160ed6a144c25b73929ff5aba469154960bd947f4d89a
MD5 5efad1478a1529c99957c2fbddab52ec
BLAKE2b-256 7af8b57d51ebea2bfdbee7a1bf07cd894dcc3b02fe1c4f778a9178accc4c8b74

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumeurl-1.0.1-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