Skip to main content

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


Download files

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

Source Distribution

remotsylib3-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

remotsylib3-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file remotsylib3-0.0.1.tar.gz.

File metadata

  • Download URL: remotsylib3-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 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 remotsylib3-0.0.1.tar.gz
Algorithm Hash digest
SHA256 860db83e0509b033adbd8c08448a9ff6290898985b8e07454c45e8eb9ed9e232
MD5 0bc281442c445713984cc482182d212c
BLAKE2b-256 ea7fbccbb037705dbe432321cbc80383041543774cdb749cba42e5ca064b5c25

See more details on using hashes here.

File details

Details for the file remotsylib3-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: remotsylib3-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: 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 remotsylib3-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0e7458f8da96922bc7c6f783147af687e0ee382a6c24fcdf17fce053b9f8cad
MD5 0ba65fce63986b8830bcb18979092e89
BLAKE2b-256 67e216d0a43d3269cba9d237d9a028ba8d010a075826b47d9c1f2a627fdba15c

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