Update api.md

Just a simple typo :)
Merge pull request #113 from kennethlimcp/patch-1

Update api.md