API client for amity (PHP 5.3+)