Updated version number

Fixed synthax errors in api.php