Project/Folder structure to nested dict

How can I use python to get all folders and tasks as a nested dictionary in the same hierarchy as in the web interface? I need this data in order to recreate the structure as folders on my pc.  I have some horrible code that gets all folders and tasks as a one-level dictionary, but I don't know what to do with it next

Is there a ready-made solution? Or will I have to invent my own algorithm?  

My structure:


MAIN_FOLDER
--PROJECT01
----TASK01
---------SUBTASK01
---------SUBTASK02
----TASK02

--PROJECT02
----FOLDER01
------TASK01
--------SUBTASK01
----FOLDER02
2
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
1 commento

Hello Иван Гришин, welcome to the Community! Thank you for sharing this question with the Community, I have opened a ticket with our Suppor Team on your behalf so one of our experts can provide you with an accurate reply. You will be contacted shortly 👍

Also, I'd like to mention that you can check our New to Community forum to discover all the resources you can find in our Community 🙂

Juan Community Team at Wrike Wrike Product Manager Conosci le straordinarie funzionalità di Wrike e le best practices

Juan Wrike Team member Conosci le straordinarie funzionalità di Wrike e le best practices

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Project/Folder structure to nested dict
[this list is visible for admins and agents only]

Su
Didn’t find what you were looking for? Write new post