@staticmethod
def get(yf_query, params=None):
    """Run query to retrieve Yahoo fantasy football data.

        :param yf_query: chosen yfpy query method to run
        :param params: (optional) dict of parameters to be passed to chosen yfpy query function
        :return: result of the yfpy query
        """
    if params:
        return yf_query(**params)
    else:
        return yf_query()
