Update api.md

just a typo i noticed
Merge pull request #95 from crittermartin/patch-1

Update api.md