Added XML API as api.php