our api class