Ubuntu 在Linux上运行OneDrive的365 API?

Ubuntu 在Linux上运行OneDrive的365 API?,ubuntu,ms-office,preview,onedrive,Ubuntu,Ms Office,Preview,Onedrive,(根据上的说明在此询问) 我正试图在Ubuntu机器上运行OneDrive。使用我被要求对以下URL执行OAuth: https://login.live.com/oauth20_authorize.srf?display=touch&client_id=000000004010C916&locale=en&scope=wl.skydrive+wl.skydrive_update+wl.offline_access&redirect_uri=https%3A%2F

(根据上的说明在此询问)

我正试图在Ubuntu机器上运行OneDrive。使用我被要求对以下URL执行OAuth:

https://login.live.com/oauth20_authorize.srf?display=touch&client_id=000000004010C916&locale=en&scope=wl.skydrive+wl.skydrive_update+wl.offline_access&redirect_uri=https%3A%2F%2Flogin.live.com%2Foauth20_desktop.srf&response_type=code
但是,由于我使用的是Office 365,我的公司帐户未被识别为“实时”帐户

所以,我的问题是双重的

  • 是否有一个OAuth URL用于
    login.microsoftonline.com/
    (我通常登录的地方)
  • 如果没有,是否有API允许我提取目录列表、上载文件等?有什么Python库吗

  • 有关如何直接为OneDrive和OneDrive for Business调用REST API的所有详细信息,请访问dev.OneDrive.com。特别是,您可以在此处阅读有关auth的更多信息:

    对于OneDrive For Business,您可以使用以下OAuth URL:
    https://login.microsoftonline.com/common/oauth2/authorize

    我们还提供了一个Python SDK: