factor out (client/get (str foo)) pattern into query-pinboard fn