Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Implementation of the remot3.it API

Project description

remot3

https://img.shields.io/pypi/v/remot3.svg https://img.shields.io/travis/twaclaw/remot3.svg Documentation Status Updates

Implementation of the remot3.it API

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

History

0.1.0 (2019-05-14)

  • First release on PyPI.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for remot3, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size remot3-0.1.0-py2.py3-none-any.whl (4.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size remot3-0.1.0.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page