Subversion Repositories SmartDukaan

Rev

Rev 12620 | Rev 13493 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12620 Rev 13136
Line 192... Line 192...
192
  print '   getAllSnapdealMarketplaceItem()'
192
  print '   getAllSnapdealMarketplaceItem()'
193
  print '   getAllFlipkartMarketplaceItem()'
193
  print '   getAllFlipkartMarketplaceItem()'
194
  print '  void addCompetitorScraping( competitorPricingMap)'
194
  print '  void addCompetitorScraping( competitorPricingMap)'
195
  print '   getPreviousCompetitorScraping(i64 delta)'
195
  print '   getPreviousCompetitorScraping(i64 delta)'
196
  print '   getUploadResultById(i64 uploadId)'
196
  print '   getUploadResultById(i64 uploadId)'
197
  print '  bool addAmazonPromotion( amazonPromotions)'
197
  print '   addAmazonPromotion( amazonPromotions)'
198
  print '   getAmazonPromotion(i64 startDate, i64 endDate)'
198
  print '   getAmazonPromotion(i64 startDate, i64 endDate)'
199
  print '  bool updateAmazonPromotion( amazonPromotions)'
199
  print '  bool updateAmazonPromotion( amazonPromotions)'
200
  print '  bool markPartiallyActive(i64 itemId, i64 categoryId)'
200
  print '  bool markPartiallyActive(i64 itemId, i64 categoryId)'
201
  print '  bool updateItemStateVat(i64 itemId,  statevat)'
201
  print '  bool updateItemStateVat(i64 itemId,  statevat)'
202
  print '   getExAffiliateItemInfo()'
202
  print '   getExAffiliateItemInfo()'
-
 
203
  print '   getAllItemstoListOnFbg()'
-
 
204
  print '   getAllFbgListedItems()'
-
 
205
  print '   checkServices( lines)'
203
  print ''
206
  print ''
204
  sys.exit(0)
207
  sys.exit(0)
205
 
208
 
206
pp = pprint.PrettyPrinter(indent = 2)
209
pp = pprint.PrettyPrinter(indent = 2)
207
host = 'localhost'
210
host = 'localhost'
Line 1322... Line 1325...
1322
  if len(args) != 0:
1325
  if len(args) != 0:
1323
    print 'getExAffiliateItemInfo requires 0 args'
1326
    print 'getExAffiliateItemInfo requires 0 args'
1324
    sys.exit(1)
1327
    sys.exit(1)
1325
  pp.pprint(client.getExAffiliateItemInfo())
1328
  pp.pprint(client.getExAffiliateItemInfo())
1326
 
1329
 
-
 
1330
elif cmd == 'getAllItemstoListOnFbg':
-
 
1331
  if len(args) != 0:
-
 
1332
    print 'getAllItemstoListOnFbg requires 0 args'
-
 
1333
    sys.exit(1)
-
 
1334
  pp.pprint(client.getAllItemstoListOnFbg())
-
 
1335
 
-
 
1336
elif cmd == 'getAllFbgListedItems':
-
 
1337
  if len(args) != 0:
-
 
1338
    print 'getAllFbgListedItems requires 0 args'
-
 
1339
    sys.exit(1)
-
 
1340
  pp.pprint(client.getAllFbgListedItems())
-
 
1341
 
-
 
1342
elif cmd == 'checkServices':
-
 
1343
  if len(args) != 1:
-
 
1344
    print 'checkServices requires 1 args'
-
 
1345
    sys.exit(1)
-
 
1346
  pp.pprint(client.checkServices(eval(args[0]),))
-
 
1347
 
1327
else:
1348
else:
1328
  print 'Unrecognized method %s' % cmd
1349
  print 'Unrecognized method %s' % cmd
1329
  sys.exit(1)
1350
  sys.exit(1)
1330
 
1351
 
1331
transport.close()
1352
transport.close()