Update api.php

no dummy comments "methods" does not tell much.
comment include inside function