Update api.rst

Fix #1
Merge pull request #1 from expanduc/master

Update api.rst