Skip to main content

Python module for SOLIDserver REST API

Project description

eiprest

Python implementation of SOLIDserver REST client.

Usage

As standalone executable script:

  • Using simple parameter format eiprest.py -s solidserver.test.com dns_server_info dns_id=3
  • Using json format eiprest.py --server 10.0.99.99 dns_server_info '{"dns_id":3}'

As python module in another script:

from eiprest import EipRest
rest = EipRest(host='10.0.99.99', user='ipmadmin', password='admin', debug=True)
params = {'dns_id': 3}
rest.query('GET', 'dns_server_info',  params)
rest.show_result()

Run eiprest.py -h to see all command line options.

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

eiprest-1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

eiprest-1.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

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