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

A Remotsy lib for use the Restfull API

Project description

Remotsy python library Build Status Codacy Badge

Remotsy is an infrared blaster device, is cloud controlled, this a Python library to control the Remotsy device via Rest API.

Installation

$ pip install remotsylib3

Example

from remotsylib3.api_async import (API, run_remotsy_api_call)

  if __name__ == "__main__":

      client = API()

      #Do the login and get the token
      token = run_remotsy_api_call(client.login(args.username, args.password))

      #Get the list of the controls
      lst_ctl = run_remotsy_api_call(client.list_controls())
      for ctl in lst_ctl:
          print("id %s Name %s" % (ctl["_id"], ctl['name']))

Authentication

You can use your remotsy username and password, but for security is recomended to generate a application password, logon in https://home.remotsy.com and use the option App Passwords.

Documentation API

The API documentation and links to additional resources are available at https://www.remotsy.com/help

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for remotsylib3, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size remotsylib3-0.0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size remotsylib3-0.0.1.tar.gz (4.0 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