Singluarize missed API examples

As pointed out in #23, `api` was used inconsistently in the examples.

If #23 lands, this should be closed.