code: public Legislators searchByStateTerm(
  			String state, 
  			String term 
  	) throws OpenStatesException {
  		return api.query(
  			new MethodMap("legislators"), 
  			new ArgMap(
  				"state", state, 
  				"term", term 
  			), 
  			Legislators.class
  		);
  	}
docs: Search for Legislators by State and Term.
  
  @param state Filter by state.
  @param term Only legislators that have a role in a certain term.
  @return {@link Legislators}