Update api.md
Merge pull request #1 from bdevelle/patch-1

Update api.md