I want to list and download files from public Sharepoint directory.
I have link in format
https://xxx.sharepoint.com/:f:/s/site_name/long_id?e=shorter_id
which redirects to
https://xxx.sharepoint.com/sites/site_name/Shared%20Documents/Forms/AllItems.aspx?cid=some_id&RootFolder=encoded_path&FolderCTID=another_is
For not public files I'm using Office365-REST-Python-Client and real account credentials but this library doesn't allow for usage without auth.
As it seems for relative easy task I could use bare REST API but as I'm complete Sharepoint newbie I could use some tip where to start looking.