Update api.md
Merge pull request #15 from MegaCookie/patch-6

Update api.md