PatchBot/modules/KOReader.php
2025-03-29 17:10:47 +01:00

14 lines
341 B
PHP

<?php
class KOReader extends PatchBase {
function __construct() {
parent::__construct('KOReader Contributors', 'KOReader', 'http://koreader.rocks/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/koreader/koreader/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>