PatchBot/modules/Thonny.php
2021-11-12 13:05:54 +01:00

14 lines
322 B
PHP

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