I built this for a client, thought it might be useful for you guys:
Original DeepBot API readme:
https://github.com/DeepBot-API/client-websocketFunctions below are assembled:
Download:
http://www.mediafire.com/download/tp9d5h5y925cbnt/DeepBot-PHP-API.zip.zip public function getUser($username)
{
return $this->makeRequest('api|get_user|' . $username);
}
public function getUsers($offset = 1, $limit = 100)
{
return $this->makeRequest('api|get_users|'.$offset.'|'.$limit);
}
public function getUserPoints($username)
{
return $this->makeRequest('api|get_points|'.$username);
}
public function setUserPoints($username, $newValue)
{
return $this->makeRequest('api|set_points|'.$username.'|'.$newValue);
}
public function addPoints($username, $points)
{
return $this->makeRequest('api|add_points|'.$username.'|'.$points);
}
public function setUserVip($username, $level, $days)
{
return $this->makeRequest('api|set_vip|'.$username.'|'.$level.'|'.$days);
}