Skip to main content

pyskytapapi facilitates the usage of skytap apis inside a python module or in command line

Project description

pyskytapapi

pyskytapapi contains some functions to facilitate the usage of skytap apis inside python modules or in command line.

The source for this project is available here.


Example of importing skytapapi inside a python module :

import os
from pyskytapapi import skytapApi

iurl = "https://cloud.skytap.com"
ijson = "configurations.json"
imethod="POST"
iapi = "/configurations.json"
iuser= os.environ.get("SKYTAP_USER")
itoken = os.environ.get("SKYTAP_TOKEN")
message= skytapApi.runskytapApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)

Release notes

1.0.0 Initial version

1.0.2 Managing http error codes

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

pyskytapapi-1.0.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

pyskytapapi-1.0.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

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