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 plume-url

Usage

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

import asyncio
from plume_url 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-0.0.6.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-0.0.6-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plumeurl-0.0.6.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-0.0.6.tar.gz
Algorithm Hash digest
SHA256 aa133471a6bbbcd5a8e02634341020a89e4e55fbad155ef9cfa2cc96cd1487c2
MD5 79137ad03d251b511ab7eb26dc801741
BLAKE2b-256 4aa9f582235fa9c902e4b5013d1f813fc782f5f7fee1aaa98f078898afd7be14

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: plumeurl-0.0.6-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-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 adcc4bfa786048fffdb9cbbcd3fa3f4ffffea8633b1a30ffa4d4d94f53d10461
MD5 2d4a275a0b271af12e20312ebab3ce77
BLAKE2b-256 62d66e30ea94a51e7fd7dea79ae11e33a55b9427ee49af0c025ce487b9557f68

See more details on using hashes here.

Provenance

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