library for BMC Discovery API Interface.
Project description
Tideway
Simplified Python library for BMC Discovery API Interface that makes use of the Python Requests module https://github.com/psf/requests and uses the same response handler.
>>> import tideway
>>> tw = tideway.appliance('appliance-hostname','auth-token')
>>> tw.about().url
'https://appliance-hostname/api/about'
>>> tw.about().status_code
200
>>> tw.about().text
{
"api_versions": [
"1.0",
"1.1",
"1.2"
],
"component": "REST API",
"product": "BMC Discovery",
"version": "12.2"
}
Tideway follows BMC Discovery's well-structured and documented REST API which can be viewed from https://<appliance>/swagger-ui/
.
Tideway removes the extra layer of manually constructing a URL and parameters for python requests allowing you to query API supported features of Discovery seamlessly and faster than if you were to navigate via the GUI.
Documentation
Documentation can be found at https://traversys.github.io/Tideway/.
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
tideway-0.1.1.tar.gz
(8.9 kB
view hashes)
Built Distribution
tideway-0.1.1-py3-none-any.whl
(24.7 kB
view hashes)