14 lines
327 B
PHP
14 lines
327 B
PHP
<?php
|
|
|
|
class Grafana extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Grafana Labs', 'Grafana', 'https://grafana.com/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://api.github.com/repos/grafana/grafana/releases/latest', true))
|
|
return $this->parse_json('tag_name');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|