Update api.html

This fixes #167