add getUserTimes function

This commit is contained in:
James 2019-10-14 18:29:52 +01:00
parent cd20d09279
commit 1c3738c365

View File

@ -96,4 +96,9 @@ class Repo{
return $data;
}
public function getUserTimes($username){
$url="repos/{$this->user}/{$this->repo}/times/{$username}";
return $this->client->request($url,'GET');
}
}