Add required params method

Hi!
I think this method is very useful for everyone who wants to ensure the query parameters. Could you consider to merge this change?