'Return all module available on the API as a list.'

def get_module_names(self, camera_name):

    self.module_names = []
    self.update()
    cam_id = self.camera_data.cameraByName(camera=camera_name, home=self.home)['id']
    for module in self.camera_data.modules.values():
        if (cam_id == module['cam_id']):
            self.module_names.append(module['name'])
    return self.module_names
