The somehow simple solution is to use decompose based on type and then calculate the area for each floor/zone. This will be good enough as long as you don’t have a single zone with multiple floors.
If you are looking to generate it similar to the component a code like this should print the areas for you assuming Honeybee zones are connected to an input named HBZones.
import scriptcontext as sc
hb_hive = sc.sticky"honeybee_Hive"
call the objects from the hive
zones = hb_hive.callFromHoneybeeHive(HBZones)
for zone in zones:
print zone.getFloorArea()