I just want to read a excel file in Sharepoint, but with no authentication.
Read a sharepoint excel file using the file link, without a authentication.
If you don't need to authenticate (or program the authentication in), to download, you can try requests.get(url="link")
or you could use selenium, to browse the website, and download the file.
And then you can open it with pandas.
Related
I want to download a public file from office365 sharepoint.
the file can be downloaded and accessed without the need to authenticate.
I have seen many examples of how to download a file with authentication but I didn't find anything that does it without. how can it be done?
I'm working with python 3
and the link is looking like this:
https://XXXX.sharepoint.com/:x:/s/YYYY/ZZZZ?e=KKKK
I have the access token and file id of the file I need to download. After authenticating the user in a react application and using File picker API, I got both of them.
I need to pass them a python file that can download the file but without user intervention(without user permission )
Any suggestion on how to do it?
I do not have a shareable link. I have the file id and the access token after authentication. I need to download it through another application written in python.
Answers on stack overflow to download drive file using python have to do authentication using OAuth first, but in my case, I need to download the file without authentication
im working on collecting, editing and uploading a excel file of format.xlsb in python and upload the edited file into sharepoint.
I don't want to save it locally, as the code should runs on Azure functions. im able to collect the excel file from sharepoint in binary and work on it, but i want to edit the excel and upload the edited one to the same path using python or pyspark.
Any ideas of editing and uploading the file, can we do it in anyway ?
I don't want to save it locally
Yes you can edit the excel file without downloading it locally and the file from SharePoint try using Office365-Rest-Python-Client API
Also here is the related discussion over excel from SharePoint have a look
I uploaded few files on Google-drive using my gmail account. Now my customers have to go to the drive and download those files. Files on the drive have read and write access and customers can download those files without gmail account.
I studied how i can automate this downloading process using Python. I found one wrapper PyDrive for Google-Drive Rest-api. For this API to work, i need to get credentials from the Google-Console.
I want to send that python script to user so that they can download the files but
Is it necessary to send the credientials also?
Users can't download the files without gmail account?
I can't just write a script and send to customers and they just run it without any credentials and gmail-account?
I am trying to download a CSV file from a website using python 2.7. I already found some posting about how to retrieve files.
http://www.blog.pythonlibrary.org/2012/06/07/python-101-how-to-download-a-file/
How do I download a file over HTTP using Python?
However, the site that I am trying to access requires authentication: id and password. I was wondering if anyone out there might share an example of how to download a file with authentication barrier.
You can use requests module, and its documentation.