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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remotsylib-0.0.2-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file remotsylib-0.0.2.tar.gz.

File metadata

  • Download URL: remotsylib-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for remotsylib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8be819f953cf5d89fc81fdf24e55cfda57cb66c6b3a132e09fd9751d7055a81f
MD5 cf75a267da92fced4678d3f7bcce9564
BLAKE2b-256 d21dcb396fd8e20e1f7b677aaf3a99dfbb6210e2bf32041d3fb19896f1dff85f

See more details on using hashes here.

File details

Details for the file remotsylib-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: remotsylib-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for remotsylib-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb616957e525e3bb0f27400a05ee40090395faa6b09574c5bb911a93b1a6417b
MD5 d63958f01811e9fd779b715a408f6c43
BLAKE2b-256 578b45ae8738d62b64f97e7628f02dd15ecc9160116983b8814d1e3fbf9f9f4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page