PatchBot/modules/Golinks.php

14 lines
341 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_json('https://api.github.com/repos/prologic/golinks/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>