Skip to main content

Simplify access to the Riverbed SteelConnect CX REST API.

Project description

https://img.shields.io/pypi/v/steelconnection.svg Documentation Status https://img.shields.io/travis/grelleum/steelconnection.svg https://codecov.io/gh/grelleum/steelconnection/branch/develop/graph/badge.svg

Simplify access to the Riverbed SteelConnect CX REST API.

       ______          __
      / __/ /____ ___ / /
  ____\ \/ __/ -_) -_) /      __  _
 / _____/\__/\__/\__/_/_ ____/ /_(_)__  ___
/ /__/ _ \/ _ \/ _ \/ -_) __/ __/ / _ \/ _ \
\___/\___/_//_/_//_/\__/\__/\__/_/\___/_//_/

version = "1.1.8"
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, 3.8

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.8.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file steelconnection-1.1.8.tar.gz.

File metadata

  • Download URL: steelconnection-1.1.8.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for steelconnection-1.1.8.tar.gz
Algorithm Hash digest
SHA256 33ec1df39f16fbd5baa119538385afa41a684d67dbf1f2a91a19a919adab992f
MD5 b1fe4c6ac25300b2a492da81081d9703
BLAKE2b-256 3f2955198d1accdf310cb7126ad486943046d29382b06e812bfe5bb56d43a9f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page