Fixing typo in api.rst
Merge pull request #706 from marcelometal/master

Fixing typo in api.rst