PatchBot/modules/NetIO.php
2021-03-27 12:59:59 +01:00

14 lines
348 B
PHP

<?php
class NetIO extends PatchBase {
function __construct() {
parent::__construct('Kai Uwe Rommel', 'NetIO', 'https://github.com/kai-uwe-rommel/netio');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/kai-uwe-rommel/netio/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>