code: def upload(client, source_dir):
      
      print('')
      print('upload store listings')
      print('---------------------')
      listings_folder = os.path.join(source_dir, 'listings')
      langfolders = filter(os.path.isdir, list_dir_abspath(listings_folder))
  
      for language_dir in langfolders:
          language = os.path.basename(language_dir)
          with open(os.path.join(language_dir, 'listing.json')) as listings_file:
              listing = json.load(listings_file)
          listing_response = client.update(
              'listings', language=language, body=listing)
  
          print('  Listing for language %s was updated.' %
                listing_response['language'])
docs: Upload listing files in source_dir. folder herachy.