PatchBot/modules/Zim.php
2022-03-04 13:39:45 +01:00

14 lines
340 B
PHP

<?php
class Zim extends PatchBase {
function __construct() {
parent::__construct('Jaap Karssenberg', 'Zim', 'https://zim-wiki.org/downloads.html');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/zim-desktop-wiki/zim-desktop-wiki/tags'))
return $this->parse_json('name');
return false;
}
}
?>