old_contents: from .store import Store
  from .utils import request_json
  from .urls import Urls, COUNTRY_USA
  
  class Address(object):
      def __init__(self, street, city, region='', zip='', country=COUNTRY_USA, *args):
          self.street = street.strip()
          self.city = city.strip()
          self.region = region.strip()
          self.zip = str(zip).strip(),
          self.urls = Urls(country)
          self.country = country
  
      @property
      def data(self):
          return {'Street': self.street, 'City': self.city,
                  'Region': self.region, 'PostalCode': self.zip}
  
      @property
      def line1(self):
          return '{Street}'.format(**self.data)
  
      @property
      def line2(self):
          return '{City}, {Region}, {PostalCode}'.format(**self.data)
  
      def nearby_stores(self, service='Delivery'):
          data = request_json(self.urls.find_url(), line1=self.line1, line2=self.line2, type=service)
          return [Store(x, self.country) for x in data['Stores']
                  if x['IsOnlineNow'] and x['ServiceIsOpen'][service]]
  
      def closest_store(self, service='Delivery'):
          stores = self.nearby_stores(service=service)
          if not stores:
              raise Exception('No local stores are currently open')
          return stores[0]
  
new_contents: from .store import Store
  from .utils import request_json
  from .urls import Urls, COUNTRY_USA
  
  class Address(object):
      def __init__(self, street, city, region='', zip='', country=COUNTRY_USA, *args):
          self.street = street.strip()
          self.city = city.strip()
          self.region = region.strip()
          self.zip = str(zip).strip()
          self.urls = Urls(country)
          self.country = country
  
      @property
      def data(self):
          return {'Street': self.street, 'City': self.city,
                  'Region': self.region, 'PostalCode': self.zip}
  
      @property
      def line1(self):
          return '{Street}'.format(**self.data)
  
      @property
      def line2(self):
          return '{City}, {Region}, {PostalCode}'.format(**self.data)
  
      def nearby_stores(self, service='Delivery'):
          data = request_json(self.urls.find_url(), line1=self.line1, line2=self.line2, type=service)
          return [Store(x, self.country) for x in data['Stores']
                  if x['IsOnlineNow'] and x['ServiceIsOpen'][service]]
  
      def closest_store(self, service='Delivery'):
          stores = self.nearby_stores(service=service)
          if not stores:
              raise Exception('No local stores are currently open')
          return stores[0]
  
subject: update address with zip fix