src/main/java/org/votesmart/classes/RatingClass.java
public Categories getCategories(String stateId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Rating.getCategories", new ArgMap("stateId", stateId), Categories.class );
	}
public Categories getCategories(String stateId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Rating.getCategories", new ArgMap("stateId", stateId), Categories.class );
	}
This method dumps categories that contain released ratings according to state.
Input: stateId (default: 'NA')

@param stateId
@return {@link Categories}