Update api.rst

grammar fix
Merge pull request #121 from JustinCappos/patch-1

Update api.rst