for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rs\VersionEye\Api;
/**
* Users API.
*
* @author Robert Schönthal <[email protected]>
* @see https://www.versioneye.com/api/v2/swagger_doc/users
*/
class Users extends BaseApi implements Api
{
* shows profile of given user_id.
* @param string $username
* @return array
public function show($username)
return $this->request('users/' . $username);
}
* shows user's favorite packages.
public function favorites($username)
return $this->request(sprintf('users/%s/favorites?page=%d', $username, 1));
* shows user's comments.
public function comments($username)
return $this->request(sprintf('users/%s/comments?page=%d', $username, 1));