Simplify access to the Riverbed SteelConnect REST API.
Project description
Simplify access to the Riverbed SteelConnect REST API.
______ __
/ __/ /____ ___ / /
____\ \/ __/ -_) -_) / __ _
/ _____/\__/\__/\__/_/_ ____/ /_(_)__ ___
/ /__/ _ \/ _ \/ _ \/ -_) __/ __/ / _ \/ _ \
\___/\___/_//_/_//_/\__/\__/\__/_/\___/_//_/
version 1.1.3
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.1.3.tar.gz
(11.4 kB
view hashes)