Implementation of the remot3.it API
Project description
remot3
Implementation of the remot3.it API
Free software: MIT license
Documentation: https://remot3.readthedocs.io.
Features
Installation
pip install remot3
Usage
from remot3 import remot3
r3 = Remot3(developer_key, user, password)
# Optionally, the api version can be specified
r3 = Remot3(developer_key, user, password, apiurl='https://api.remot3.it/apv/v27/')
r3.login()
# A complete list of the devices can be retrieved, or
status, devices, _ = r3.list_devices()
# Given an installation name retrieve the connection parameters
devices = r3.get_device_address(deviceName='MyDeviceName', serviceType='SSH')
if len(devices) > 0:
status, proxyserver, proxyport, _ = r3.get_server_name(devices[0])
print('ssh user@{} -p {}'.format(proxyserver, proxyport))
Credits
- This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-05-14)
First release on PyPI.
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
remot3-0.1.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for remot3-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd35734e0720a259746f45f3d03843235d62b306d4cb2efc4671dff96a194f90 |
|
MD5 | 3b87e978370f942b3deb001ad855ecb8 |
|
BLAKE2b-256 | d29d084a903dd0331b95425c0b72f56c7446f2219c799de2ab0190d267179d02 |