Returns a uw_sws.models.Term object,
    for the passed year and quarter.

def get_term_by_year_and_quarter(year, quarter):
    """
    Returns a uw_sws.models.Term object,
    for the passed year and quarter.
    """
    url = "{}/{},{}.json".format(
        term_res_url_prefix, year, quarter.lower())
    return _json_to_term_model(get_resource(url))