PatchBot/modules/IoBroker.php
2023-12-17 23:44:52 +01:00

14 lines
333 B
PHP

<?php
class IoBroker extends PatchBase {
function __construct() {
parent::__construct('Denis Haev', 'ioBroker', 'https://www.iobroker.net/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/ioBroker/ioBroker/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>