in reply to determine numbers of boxes needed per weight

If you are making hundreds of queries per day, then perhaps a caching algorithm may really assist you. In otherwords, at the beginning of the day, send queries to USPS for the price of every sized box. Store this data locally to assist you with making a more accurate estimation.
  • Comment on Re: determine numbers of boxes needed per weight