towards an API, REST-style queries for get_last and search
mandatory typo plus forgotten print
Merge remote-tracking branch 'upstream/master'