OneDrive / onedrive-sdk-python

OneDrive SDK for Python! https://dev.onedrive.com
MIT License
1.08k stars 189 forks source link

is there search function and resolve function? #192

Open Gorparth opened 3 years ago

Gorparth commented 3 years ago

searching with name of file or folder and is there any function which is same as resolve function which was in previous version ?

KTibow commented 3 years ago

What? Could you try to elaborate and use better grammar? Also, could you add examples/links/screenshots?

Gorparth commented 3 years ago

Ya, is any search function in onedrivesdk, searching item based on mime_type? Searching with specific name that may be either folder or file

Like I want to search example.pdf and mime type pdf ( just for example)

So how can I do that with onedrivesdk ?

I've written one search function but it is time consuming, if there is any search function in onedrivesdk only then it may be with less time complexity.

Gorparth commented 3 years ago

Resolve function gives id of the file from path, in previous there was fun cation named resolve, but in newer api doesn't have that but I found something similar to that

client.item(path=path).get().id

KTibow commented 3 years ago

Is that possible with the plain API?