PatchBot/modules/Shiori.php
2019-07-17 21:55:55 +02:00

14 lines
344 B
PHP

<?php
class Shiori extends PatchBase {
function __construct() {
parent::__construct('Radhi Fadlillah', 'Shiori', 'https://github.com/go-shiori/shiori');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/go-shiori/shiori/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>