Fixed misspelling & missing ')' in api/index.php
Merge pull request #70 from phpmentoring/api-index-fixes

Fixed misspelling & missing ')' in api/index.php