code: def login(password, phone=None, email=None, rememberLogin=True):
      
      if (phone is None) and (email is None):
          raise ParamsError()
      if password is None:
          raise ParamsError()
      r = NCloudBot()
      # r.username = phone or email
  
      md5 = hashlib.md5()
      md5.update(password)
      password = md5.hexdigest()
      print password
      r.data = {'password': password, 'rememberLogin': rememberLogin}
      if phone is not None:
          r.data['phone'] = phone
          r.method = 'LOGIN'
      else:
          r.data['username'] = email
          r.method = 'EMAIL_LOGIN'
      r.send()
  
      return r.response
docs: 登录接口，返回 :class:'Response' 对象
      :param password: 网易云音乐的密码
      :param phone: (optional) 手机登录
      :param email: (optional) 邮箱登录
      :param rememberLogin: (optional) 是否记住密码，默认 True