readme: updated example, added link to API documentation

Signed-off-by: Jan Pecha <janpecha@email.cz>