PatchBot/modules/OSP.php

14 lines
363 B
PHP

<?php
class OSP extends PatchBase {
function __construct() {
parent::__construct('Deamos', 'Open Streaming Platform', 'https://openstreamingplatform.com/');
}
function check() : bool {
if ($this->fetch_json('https://gitlab.com/api/v4/projects/Deamos%2Fflask-nginx-rtmp-manager/releases'))
return $this->parse_json('tag_name');
return false;
}
}
?>