PatchBot/modules/Golinks.php
2021-01-29 12:16:19 +01:00

14 lines
342 B
PHP

<?php
class Golinks extends PatchBase {
function __construct() {
parent::__construct('James Mills', 'golinks', 'https://prologic.github.io/golinks/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/prologic/golinks/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>