Add Shiori

This commit is contained in:
Steffen Lange 2019-07-17 21:55:55 +02:00
parent 32b8c4cb56
commit 4bebfef352

14
modules/Shiori.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>