Returns a list of uw_sws.models.SectionReference objects
    for the passed building and term.

def get_sections_by_building_and_term(building, term):
    """
    Returns a list of uw_sws.models.SectionReference objects
    for the passed building and term.
    """
    url = "{}?{}".format(
        section_res_url_prefix,
        urlencode([("quarter", term.quarter.lower(),),
                   ("facility_code", building,),
                   ("year", term.year,), ]))
    return _json_to_sectionref(get_resource(url))