Skip to content

Commit 2d1759e

Browse files
committed
update samples
1 parent c3d6378 commit 2d1759e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

samples/shopping.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,16 @@ def using_attributes(opts):
151151
api = shopping(debug=opts.debug, appid=opts.appid, config_file=opts.yaml,
152152
warnings=True)
153153

154-
api.execute('FindProducts', {"ProductID": {'@attrs': {'type': 'ISBN'}, '#text': '0596154488'}})
154+
api.execute('FindProducts', {
155+
"ProductID": {'@attrs': {'type': 'ISBN'},
156+
'#text': '0596154488'}})
155157

156158
dump(api, full=False)
157159

158160
if __name__ == "__main__":
159161
(opts, args) = init_options()
160-
#run(opts)
161-
#popularSearches(opts)
162-
#categoryInfo(opts)
163-
#with_affiliate_info(opts)
162+
run(opts)
163+
popularSearches(opts)
164+
categoryInfo(opts)
165+
with_affiliate_info(opts)
164166
using_attributes(opts)

0 commit comments

Comments
 (0)