PatchBot/modules/Remotely.php
2021-04-24 17:51:34 +02:00

14 lines
334 B
PHP

<?php
class Remotely extends PatchBase {
function __construct() {
parent::__construct('Jared Goodwin', 'Remotely', 'https://remotely.one/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/lucent-sea/Remotely/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>