compcentral's API bot in PHP