code: def _get_method_params(self):
          
          caller = sys._getframe(2)
          var_names = list(caller.f_code.co_varnames)
          caller_locals = caller.f_locals
  
          var_names.remove('self')
          kwargs = {key: value for key, value in caller_locals.items()
                    if key in var_names and value is not None}
          return kwargs
docs: This method makes reading and filtering each method implemented
          in this class a more general approach. It reads the previous
          frame from Python and filters the params passed to the caller
          of _make_request.
          :return: a dictionary of caller's parameters and values
          :rtype: dict