once I replace results = api.execute(‘getMostWatchedItems’, {}) with
results = api.execute(‘getMostWatchedItems’, {‘categoryId’: ‘1249’}), I am having error:
for item in results.reply.itemRecommendations.item:
^
IndentationError: unexpected indent
However, it works well if it doesn’t search for categoryId. Can u pls help?
Thanks,
Hi artgod1,
The error you receive seems to be caused by wrong indentation. Can you please paste the complete code snippet? It would be easier to help you.