PatchBot/modules/Lego.php
2026-04-08 14:13:10 +02:00

14 lines
333 B
PHP

<?php
class Lego extends PatchBase {
function __construct() {
parent::__construct('Ludovic Fernandez', 'lego', 'https://go-acme.github.io/lego/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/go-acme/lego/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>