Skip to main content

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


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)

Uploaded Source

Built Distribution

remot3-0.1.0-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 2 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