PatchBot/modules/Saucedacity.php
2022-10-12 16:37:58 +02:00

14 lines
356 B
PHP

<?php
class Saucedacity extends PatchBase {
function __construct() {
parent::__construct('Saucedacity Team', 'Saucedacity', 'https://saucedacity.github.io/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/saucedacity/saucedacity/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>