api class