Update api.rst
Merge pull request #100 from seydu/patch-1

Minor typo fix