Subversion Repositories SmartDukaan

Rev

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

Rev 477 Rev 494
Line 17... Line 17...
17
 
17
 
18
#client.addPincodeWarehouseMapping("332301", 1, "303030")
18
#client.addPincodeWarehouseMapping("332301", 1, "303030")
19
 
19
 
20
#client.addDeliveryEstimate(1, "332301", 1, 3, 80)
20
#client.addDeliveryEstimate(1, "332301", 1, 3, 80)
21
 
21
 
-
 
22
now = datetime.datetime.now()
22
 
23
 
-
 
24
test = now.hour
-
 
25
print test, now.hour
23
itemlogistics = client.getLogisticsEstimation(100, "332301", 1)
26
itemlogistics = client.getLogisticsEstimation(1, "332301", 1)
24
print itemlogistics.warehouseId
27
print itemlogistics.warehouseId
25
print itemlogistics.availability
28
print itemlogistics.availability
26
print itemlogistics.shippingTime
29
print itemlogistics.shippingTime
27
 
30
 
28
 
31