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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pyskytapapi-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c228ef610ffce71ca4f9a8e86ce9dd55756d86d8c86c8a919518619ac947ede6 |
|
MD5 | 70f59b2889fdbe6f2f8dfbfc505d55f2 |
|
BLAKE2b-256 | 8f10688f0ff424ad433a3926ce32199b5967adfdf7b51d2e399e570d6c7d22c5 |