Fix typo in API.md
Merge pull request #1086 from dentarg/patch-2

Fix typo in API.md