I need to BackUp SharePoint Online Site content into local storage. I know there is no tools for it (for SharePoint Online version). I want to write my own tool that will copy all site content to a local drive (library to some archive, lists to excel file). I have about 15 SP sites which I need to backup. I know that MS stores data every 14 days on it's services, but this is not enough.
I plan to write a powershell script or programm in C#. But I can't get to site content programmatically.
How can I get content from site library or a list by PowerShell or C# in SharePoint Online?