PatchBot/modules/Joplin.php
2021-04-25 21:32:02 +02:00

14 lines
328 B
PHP

<?php
class Joplin extends PatchBase {
function __construct() {
parent::__construct('Laurent Cozic', 'Joplin', 'https://joplinapp.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/laurent22/joplin/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>