Importing specific data from Wlog to Excel

Hello, I’m currently trying to make a specific excel in which i can see what legendary are crafted on what type of gear, and see which of the item is mostly used. Instead of searching class by classe spec by spec and clicking on the top 10 each time. I know Wlog gives their API but i absolutely have no idea how to use it. so maybe there is an easier way.

To be more explicit, i want the % of each legendary piece mages / warlock / priest wear