14 lines
339 B
PHP
14 lines
339 B
PHP
<?php
|
|
|
|
class Tasmota extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Theo Arends', 'Tasmota', 'https://github.com/arendst/Tasmota');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch_json('https://api.github.com/repos/arendst/Tasmota/releases/latest'))
|
|
return $this->parse_json('tag_name');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|