OneDrive API Crash Course For Beginners: Automate OneDrive In Python | Step-By-Step Tutorial

preview_player
Показать описание
OneDrive is a widely used cloud storage service from Microsoft that allows you to store, share, and sync your files across multiple devices. In this OneDrive API crash course, I’ll guide you through getting started with the OneDrive API in Python to streamline your file management and enhance your workflow.

💖 Show Support
☕ Venmo: @Jie-Jenn

00:00 - Intro and agenda
01:42 - Create & set up an Azure App & Python environment
04:22 - Create ms_graph module to generate access token
10:32 - Example: List files in a folder
12:32 - Example: Folder creation
15:01 - Example: File upload
16:36 - Example: Copy file
17:54 - Example: Move file
18:42 - Example: Rename file
19:44 - Example: Download file
21:17 - Example: Generate share/download link
23:41 - Example: Query files
24:46 - Example: Delete file/folder

#onedrive #onedriveapi #python
Рекомендации по теме
Комментарии
Автор

What else do you want to learn about OneDrive automation? Let me know below in the comments!

jiejenn
Автор

It gets Just in time for me. THANK youu

oddocid
Автор

Hi there, thanks for sharing
It's possible send file to Personal Vault?

programan
Автор

Do you have a tutorial for appending data to a sharepoint list with python sir?

jayrcodes
Автор

Do you have one for automating data entry into a web page?

dev_apostle
Автор

Is this paid? Do i have to pay something to azure to work with this API?
i mean, i already pay for OneDrive, do i need to pay more?

EduardoOliveira-gqqn
Автор

In copy/move, is anyone getting the result:

{'error': {'code': 'invalidRequest', 'message': 'ObjectHandle is Invalid', 'innerError': {'code': 'invalidResourceId', 'date': '2024-10-14T19:47:29', 'request-id': '9e0cd4a3-eefc-4b47-af28-91812657d481', 'client-request-id':

Im getting this issue whenever I include the parentReference (I've triple checked the IDs)

Note, the copy/move works find if I don't include the parentReference (i.e. copy/move within the directory)

snickers
join shbcf.ru