Skip to content

Commit

Permalink
update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheus committed Jan 10, 2014
1 parent c3d6378 commit 2d1759e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions samples/shopping.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,16 @@ def using_attributes(opts):
api = shopping(debug=opts.debug, appid=opts.appid, config_file=opts.yaml,
warnings=True)

api.execute('FindProducts', {"ProductID": {'@attrs': {'type': 'ISBN'}, '#text': '0596154488'}})
api.execute('FindProducts', {
"ProductID": {'@attrs': {'type': 'ISBN'},
'#text': '0596154488'}})

dump(api, full=False)

if __name__ == "__main__":
(opts, args) = init_options()
#run(opts)
#popularSearches(opts)
#categoryInfo(opts)
#with_affiliate_info(opts)
run(opts)
popularSearches(opts)
categoryInfo(opts)
with_affiliate_info(opts)
using_attributes(opts)

0 comments on commit 2d1759e

Please sign in to comment.