Last updated:
0 purchases
pyskytapapi 1.0.2
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.