PatchBot/modules/QGIS.php
2022-01-14 14:18:32 +01:00

14 lines
307 B
PHP

<?php
class QGIS extends PatchBase {
function __construct() {
parent::__construct('QGIS Authors', 'QGIS', 'https://qgis.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/qgis/QGIS/releases/latest'))
return $this->parse_json('name');
return false;
}
}
?>