Addons don't have direct access to the filesystem. The best you can do is export data into a savedvar, which appears as a Lua file with a table definition inside.
Don't forget the saved variables file is not in a format compatible with csv or spreadsheet systems. You would have to write a program to read the saved variables file after you log out of the game. If you only want to import a sessions / weeks worth etc of loot then you will have to make sure that the addon has a clear function or you delete the saved variables file before relogging in.
I had a look at 6 pages of 'loot' based addons with none that said or implied that loot was being stored between sessions.
I'm aware of the addon restrictions to the file system. I was hoping for one of them that stored data between sessions. Maybe I'll try to cobble something together. I knew that saved variable format isn't csv compatible.
I would suggest grab one of the loot addons that has the nearest functionality and easiest code to decipher and use that as inspiration for your addon. It will save you hunting down every api command to do the stuff you need if someone has already done it. Just remember to put a shout out to them as thanks.
I would suggest grab one of the loot addons that has the nearest functionality and easiest code to decipher and use that as inspiration for your addon. It will save you hunting down every api command to do the stuff you need if someone has already done it. Just remember to put a shout out to them as thanks.