def example2(api):
    """Find all "gadget" items and increase their price by 10%
    """
    qry = api.items.query()
    qry.filter_search('title', 'gadget')
    print('Matched {} gadget items to change'.format(qry.count))
    for item in qry.iter_all():
        print('Current price for item {} is {}'.format(item['item_no'],
            item['price']))
        item.update({'price': round(item['price'] * 1.1, 2)})
        print('    New price is {}'.format(item['price']))
