docs: public static int getIntParam(JSONObject params, String paramName) throws ApiException {
  		if (!params.containsKey(paramName)) {
  			throw new ApiException(ApiException.Type.MISSING_PARAMETER, paramName);
  		}
  
  		try {
  			return params.getInt(paramName);
  		} catch (JSONException e) {
  			throw new ApiException(ApiException.Type.ILLEGAL_PARAMETER, paramName, e);
  		}
  	}