Generate keys offline, put them in database table, check using an api, then you don't have worry about sweeping them.
Can't be any easier.
I think he wants to check without relying on an api to some third party service.
He want to validate the balances on his own by parsing the blockchain.