Subversion Repositories SmartDukaan

Rev

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

Rev 10140 Rev 10909
Line 173... Line 173...
173
  print '   searchFlipkartItems( searchTerm, i64 offset, i64 limit)'
173
  print '   searchFlipkartItems( searchTerm, i64 offset, i64 limit)'
174
  print '  i64 getCountForFlipkartItems()'
174
  print '  i64 getCountForFlipkartItems()'
175
  print '  i64 getFlipkartSearchResultCount( searchTerm)'
175
  print '  i64 getFlipkartSearchResultCount( searchTerm)'
176
  print '   getAllFkItems()'
176
  print '   getAllFkItems()'
177
  print '  FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)'
177
  print '  FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)'
-
 
178
  print '   getAllFbbListedItems()'
178
  print ''
179
  print ''
179
  sys.exit(0)
180
  sys.exit(0)
180
 
181
 
181
pp = pprint.PrettyPrinter(indent = 2)
182
pp = pprint.PrettyPrinter(indent = 2)
182
host = 'localhost'
183
host = 'localhost'
Line 1147... Line 1148...
1147
  if len(args) != 1:
1148
  if len(args) != 1:
1148
    print 'getFlipkartItemBySkyAtFlipkart requires 1 args'
1149
    print 'getFlipkartItemBySkyAtFlipkart requires 1 args'
1149
    sys.exit(1)
1150
    sys.exit(1)
1150
  pp.pprint(client.getFlipkartItemBySkyAtFlipkart(args[0],))
1151
  pp.pprint(client.getFlipkartItemBySkyAtFlipkart(args[0],))
1151
 
1152
 
-
 
1153
elif cmd == 'getAllFbbListedItems':
-
 
1154
  if len(args) != 0:
-
 
1155
    print 'getAllFbbListedItems requires 0 args'
-
 
1156
    sys.exit(1)
-
 
1157
  pp.pprint(client.getAllFbbListedItems())
-
 
1158
 
1152
else:
1159
else:
1153
  print 'Unrecognized method %s' % cmd
1160
  print 'Unrecognized method %s' % cmd
1154
  sys.exit(1)
1161
  sys.exit(1)
1155
 
1162
 
1156
transport.close()
1163
transport.close()