python API example added.