From ada99c0af5665828abc725923bf2f104c577c852 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 31 Mar 2015 13:14:25 +0200 Subject: move config parameters on every module docstring, overall QA --- py3status/modules/pingdom.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'py3status/modules/pingdom.py') diff --git a/py3status/modules/pingdom.py b/py3status/modules/pingdom.py index f47da68..482fc3f 100644 --- a/py3status/modules/pingdom.py +++ b/py3status/modules/pingdom.py @@ -5,6 +5,15 @@ Display the latest response time of the configured Pingdom checks. We also verify the status of the checks and colorize if needed. Pingdom API doc : https://www.pingdom.com/services/api-documentation-rest/ +Configuration parameters: + - app_key : create an APP KEY on pingdom first + - cache_timeout : how often to refresh the check from pingdom + - checks : comma separated pindgom check names to display + - login : pingdom login + - max_latency : maximal latency before coloring the output + - password : pingdom password + - request_timeout : pindgom API request timeout + Requires: - requests python module from pypi https://pypi.python.org/pypi/requests @@ -16,15 +25,6 @@ from time import time class Py3status: """ - Configuration parameters: - - app_key : create an APP KEY on pingdom first - - cache_timeout : how often to refresh the check from pingdom - - checks : comma separated pindgom check names to display - - login : pingdom login - - max_latency : maximal latency before coloring the output - - password : pingdom password - - request_timeout : pindgom API request timeout - """ # available configuration parameters app_key = '' -- cgit v1.3