src/main/java/org/openstates/classes/LegislatorClass.java
public Legislators searchByStateTerm(
			String state, 
			String term 
	) throws OpenStatesException {
		return api.query(
			new MethodMap("legislators"), 
			new ArgMap(
				"state", state, 
				"term", term 
			), 
			Legislators.class
		);
	}
public Legislators searchByStateTerm(
			String state, 
			String term 
	) throws OpenStatesException {
		return api.query(
			new MethodMap("legislators"), 
			new ArgMap(
				"state", state, 
				"term", term 
			), 
			Legislators.class
		);
	}
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}