UptimeRobot plugin for `edwh`
Project description
edwh-uptime-plugin
UptimeRobot API integration for the edwh
tool.
Table of Contents
Installation
pip install edwh-uptime-plugin
But probably you want to install the whole edwh package:
pipx install edwh[uptime]
# or
pipx install edwh[plugins,omgeving]
Usage
# set your api key and see your profile info:
edwh uptime.account
# see the other available commands:
edwh help uptime
UPTIMEROBOT_APIKEY
is saved in a .env
file. You can also set IS_DEBUG=1
if you want to see verbose logging (every
request and response).
As a Library
from edwh_uptime_plugin import tasks
from edwh_uptime_plugin.tasks import specific_task
from edwh_uptime_plugin.uptimerobot import UptimeRobot, uptime_robot
# run specific tasks via tasks.some_task or import some_task
tasks.specific_task == specific_task
# by default, the API key will be loaded from .env or prompted.
uptime_robot.api_key = "specific-key" # before any API calls to skip .env behavior
# uptime_robot is an instance of UptimeRobot
uptime_robot.get_account_details()
License
edwh-uptime-plugin
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
edwh_uptime_plugin-0.4.0.tar.gz
(52.5 kB
view details)
Built Distribution
File details
Details for the file edwh_uptime_plugin-0.4.0.tar.gz
.
File metadata
- Download URL: edwh_uptime_plugin-0.4.0.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3589d96506df4cd426164f7552e2f8da08fab13f324a3815a6172758c6a8a862 |
|
MD5 | 21c4c7a84424c9af970be7a075df92c3 |
|
BLAKE2b-256 | c1ebe006d583327843dc1c66f5473792def0c48e79e4875a33f93932dde63902 |
File details
Details for the file edwh_uptime_plugin-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: edwh_uptime_plugin-0.4.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe459c6cc5dc52d39d29953f76ea8f100cede40e8429494f91d2484ce88aef5a |
|
MD5 | 9e3cd5566870be9dd96fc9dae0f8482e |
|
BLAKE2b-256 | 0b685fd4f9da5a1b87943880635147353f38b913246499d1bc24f18e4dd0cfa3 |