Skip to main content

rpi-radio-alarm library

Project description

rpi-radio-alarm

Package to simplify the communication to a instance of the rpi-radio-alarm

Usage

pip install rpi-radio-alarm

Objects

This package includes two classes.

ApiHelper

This class can handle commands and arguments and send them to the rpi-radio-alarm and return the response

This is done in the do_command(cmd, args), cmd has to be one of constants.COMMANDS and args is a dictionary with the appropiate values.

RpiArgumentParser

The RpiArgumentParser parses string input to correct arguments for the ApiHelper.

ResponseParser

This class defines for the ApiHelper how to parse the response from the rpi-radio-alarm.

Example Usages

rpi-radio-alarm-discordbot-python

rpi-radio-alarm-telegrambot

License

LGPLv3

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

rpi-radio-alarm-0.3.5.tar.gz (3.4 kB view hashes)

Uploaded Source

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