From 91ac2536232756a4fa337942d49c4495e50b4ab2 Mon Sep 17 00:00:00 2001 From: lucasheld Date: Sun, 10 Jul 2022 21:58:42 +0200 Subject: [PATCH] minor changes --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b98a96d..e93b8d1 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,9 @@ Once you have installed the python package, you can use it to communicate with a To do so, import `UptimeKumaApi` from the library and specify the Uptime Kuma server url, username and password to initialize the connection. ```python -from uptime_kuma_api import UptimeKumaApi - -api = UptimeKumaApi('INSERT_URL') -api.login('INSERT_USERNAME', 'INSERT_PASSWORD') +>>> from uptime_kuma_api import UptimeKumaApi +>>> api = UptimeKumaApi('INSERT_URL') +>>> api.login('INSERT_USERNAME', 'INSERT_PASSWORD') ``` Now you can call one of the existing methods of the instance. For example create a new monitor: