Skip to main content

SDK for use with Cloaken url unshortener AMI

Project description

Cloaken SDK

Python SDK for cloaken contains the enpoints to use to interact with Cloaken


from cloakensdk.client import SyncClient
from cloakensdk.resources import Url
import os  

server = os.environ["SERVER_URL"]
username = os.environ["USERNAME"]
password = os.environ["PASSWORD"]
client = SyncClient(server_url=server,

resource = Url(client)

#unshorten a url

#create a url entry manually in the database
data = resource.full_request()

See ./tests/

Unit test instructions:

  1. set environment variables:
    a. SERVER_URL = http://servername:port/
  2. python tests/


  1. update version in
  2. python sdist bdist_wheel
  3. twine upload dist/*

Project details

Download files

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

Files for cloakensdk, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size cloakensdk-0.0.8-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cloakensdk-0.0.8.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page