Simplify access to the Riverbed SteelConnect REST API.
Project description
Simplify access to the Riverbed SteelConnect REST API.
______ _______ __ _
/ __/ /____ ___ / / ___/__ ___ ___ ___ ____/ /_(_)__ ___
_\ \/ __/ -_) -_) / /__/ _ \/ _ \/ _ \/ -_) __/ __/ / _ \/ _ \
/___/\__/\__/\__/_/\___/\___/_//_/_//_/\__/\__/\__/_/\___/_//_/
version 1.0.0
pip install steelconnection
Always crafts a correct URL based on the resource provided.
Accepts and returns native Python data: no need to convert to/from JSON.
Provides convinience methods for object lookup and image download.
Reuses TCP connection for subsequent API requests.
Supports:
Python 2.7, 3.4, 3.5, 3.6, 3.7
With SteelConnection, a request to get a list of all organizations in the realm would look like this:
orgs = sc.get('orgs')
Without SteelConnection, the same request would look like this:
response = requests.get(
'https://REALM.riverbed.cc/api/scm.config/1.0/orgs',
auth=(username, password)
)
orgs = response.json()['items']
Documentation
Full Documentation is available on Read the Docs.
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
steelconnection-1.0.0.tar.gz
(11.2 kB
view hashes)