old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from _version import __version__
  
  __copyright__ = 'Copyright 2013 Simon Weber'
  __license__ = 'BSD 3-Clause'
  __title__ = 'gmusicapi'
  
  from gmusicapi.clients import Webclient, Musicmanager
  from gmusicapi.exceptions import CallFailure
  
  # appease flake8: the imports are purposeful
  (__version__, Webclient, Musicmanager, CallFailure)
  
  # Removing this for now; logging is important, and people shouldn't ignore it.
  ## Set default logging handler to avoid "No handler found" warnings.
  #import logging
  #try:  # Python 2.7+
  #    from logging import NullHandler
  #except ImportError:
  #    class NullHandler(logging.Handler):
  #        def emit(self, record):
  #            pass
  #
  #logging.getLogger(__name__).addHandler(NullHandler())
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from gmusicapi._version import __version__
  
  __copyright__ = 'Copyright 2013 Simon Weber'
  __license__ = 'BSD 3-Clause'
  __title__ = 'gmusicapi'
  
  from gmusicapi.clients import Webclient, Musicmanager
  from gmusicapi.exceptions import CallFailure
  
  # appease flake8: the imports are purposeful
  (__version__, Webclient, Musicmanager, CallFailure)
  
  
  class Api(object):
      """Mock class used to signal gmusicapi.Api deprecation."""
      def __init__(self):
          # not using warnings because this change cannot be ignored
          raise ImportError('gmusicapi.Api is deprecated; use gmusicapi.Webclient'
                            ' or gmusicapi.Musicmanager instead.'
                            '\n'
                            'For help rewriting your code, see'
                            ' https://unofficial-google-music-api.readthedocs.org/'
                            'en/latest/usage.html#quickstart.'
                            '\n'
                            'For an explanation of why the change was made, see'
                            ' https://github.com/simon-weber/'
                            'Unofficial-Google-Music-API/issues/112.')
  
subject: add fake Api to warn users