Fixed MegaCookie's additions to api-example.php

Great work MegaCookie — just some typo stuff