Create api.inc.php