Skip to main content

A Remotsy python 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 remotsylib

Example

from remotsylib.api import API

if __name__ == "__main__":

    client = API()

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

    #Get the list of the controls
    lst_ctl = 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


Download files

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

Source Distribution

remotsylib-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

remotsylib-0.0.2-py2.py3-none-any.whl (4.0 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