Add Firefly III

This commit is contained in:
Steffen Lange 2022-08-15 12:06:23 +02:00
parent b11bd9ed6d
commit 3a95931fc3

14
modules/FireflyIII.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class FireflyIII extends PatchBase {
function __construct() {
parent::__construct('James Cole', 'Firefly III', 'https://www.firefly-iii.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>