code: def remote_styles(family_metadata):
    
  
    def download_family_from_Google_Fonts(family_name):
      """Return a zipfile containing a font family hosted on fonts.google.com"""
      from zipfile import ZipFile
      from fontbakery.utils import download_file
      url_prefix = 'https://fonts.google.com/download?family='
      url = '{}{}'.format(url_prefix, family_name.replace(' ', '+'))
      return ZipFile(download_file(url))
  
  
    def fonts_from_zip(zipfile):
      '''return a list of fontTools TTFonts'''
      from fontTools.ttLib import TTFont
      from io import BytesIO
      fonts = []
      for file_name in zipfile.namelist():
        if file_name.lower().endswith(".ttf"):
          file_obj = BytesIO(zipfile.open(file_name).read())
          fonts.append([file_name, TTFont(file_obj)])
      return fonts
  
    if (not listed_on_gfonts_api(family_metadata) or
        not family_metadata):
      return None
  
    remote_fonts_zip = download_family_from_Google_Fonts(family_metadata.name)
    rstyles = {}
  
    for remote_filename, remote_font in fonts_from_zip(remote_fonts_zip):
      remote_style = os.path.splitext(remote_filename)[0]
      if '-' in remote_style:
        remote_style = remote_style.split('-')[1]
      rstyles[remote_style] = remote_font
    return rstyles
docs: Get a dictionary of TTFont objects of all font files of
       a given family as currently hosted at Google Fonts.