Add Drone

This commit is contained in:
Steffen Lange 2020-04-04 18:58:09 +02:00
parent ccc4a4328f
commit 59d821511b

14
modules/Drone.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Drone extends PatchBase {
function __construct() {
parent::__construct('Drone.IO', 'Drone', 'https://drone.io/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/drone/drone/tags', true))
return $this->parse_json('name');
return false;
}
}
?>