How to get data such as devices connected and option to restrict internet access to certain devices to an android app

hi im new to the openwrt project and i was wondering if i can build an app that lets users see the devices connected to the network as well as grant or block internet access to devices. i am doing this for a school project and any help will be greatly appreciated and also im still a newbie to programming so baby steps will be greatly appreciated.