Fix readme API sample.