Reading state of I2C dip switch

The only example provided of using the I2C dip switch library is in event mode. For my application I just want to be able to read the state of the switches on demand, not when they are changed

Does anyone have an example of how to do this using an Arduino?

Thanks