Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Onedrive for business #200

Closed
jkim8256 opened this issue Jan 13, 2022 · 8 comments
Closed

Onedrive for business #200

jkim8256 opened this issue Jan 13, 2022 · 8 comments

Comments

@jkim8256
Copy link

jkim8256 commented Jan 13, 2022

Hi, while i was working with onedrive for business account to gain access and use the api, then i ran into a problem.
20220113_104320

20220113_104621

Here are the code and traceback. I have been reading it for a while now, but all i understood is that api.office.com is having a connection issue.

Could i get some help? Thanks in advance for your time!

@KTibow
Copy link

KTibow commented Jan 14, 2022

It means it couldn't connect to the Office API. Make sure you have a working internet connection and DNS.

@jkim8256
Copy link
Author

jkim8256 commented Jan 15, 2022

Thank you for the reply!
However, I am very sure that I had a working internet connection when I was running the program. I am not sure what you mean by DNS though. (The link to the office API ("discovery_uri" I believe) was from the example from this GitHub readme page. Also, the "https://api.office.com" was not reachable when I tried to connect to it.)
Capture

Is the api page deprecated or something? Or am I just not understanding things?
Again, thanks in advance for your time and help!

@KTibow
Copy link

KTibow commented Jan 15, 2022

Sad news: Our beloved repo is becoming discontinued.
https://devblogs.microsoft.com/microsoft365dev/outlook-rest-api-v2-0-deprecation-notice/
It sounds like you'll have to manually work with the API using the requests library.

@jkim8256
Copy link
Author

jkim8256 commented Jan 20, 2022

Sorry for the late reply. So does that mean I cannot use the OneDrive for business example code as it uses the outlook rest API v2.0 and thus I need to use requests library somehow(idk how to use them yet) to replace the soon-to-be-deprecated rest API?

Or does that mean this whole repository "onedrive-sdk-python" is being discontinued due to the MS rest API being discontinued soon?

I assume the former is right rather than latter, but just to make sure.
And always, thank you so much!

@KTibow
Copy link

KTibow commented Jan 20, 2022

This library will no longer work (the code will probably stay there) for business, and possibly stop working for personal.
All the library did was talk to the API for you, and you can directly talk to the API using the requests library.
This updated version may/may not work.

@yyqi17
Copy link

yyqi17 commented Aug 3, 2022

Hi, have you solved this problem connecting to OneDrive for business?

@KTibow
Copy link

KTibow commented Aug 3, 2022

This SDK is abandoned.

@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants