How can we list empty repositories and groups

How to list all empty repositories with README.md only as well as without README.md and empty groups with the help of API