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

Update api.md