PatchBot/modules/Valetudo.php
2021-03-24 11:01:11 +01:00

14 lines
330 B
PHP

<?php
class Valetudo extends PatchBase {
function __construct() {
parent::__construct('Sören Beye', 'Valetudo', 'https://valetudo.cloud/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/Hypfer/Valetudo/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>