adding api to get all beacon data in one-go