You can obtain monitor objects using the app.get_primary_monitor() or app.get_all_monitors() methods. Through these monitor objects, you can perform various functions and utilize several methods of the Monitor object to query or modify the properties and states of the monitor.
methods here.