microsoftgraph / microsoftgraph/msgraph-sdk-python

How to use the SDK to write Graph calls that aren't provided by the SDK API

未關閉
#245 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

documentation
主要語言
Python
星號
630
分支
96
平均合併
15 小時 20 分鐘
30 天內合併 PR
3

描述

Ahoi,

first, thanks for the SDK. It makes life easier and helps me to stay in the python eco-system for such tasks.
Now, I'm not really understanding Graph or the SDK well enough to see how I could write my own queries.
For example, I'd like to call the reports/getTeamsTeamActivityDetail(period='D90')?$format=application/json endpoint. As I don't see it in SDK 1.0.0a12, I'd like to "manually" call it and process the results.

Is this even feasable? Please excuse me if this call actually is in the API and I just didn't see it - take it as an example.

Is calling arbitrary endpoints even supported? Did I miss this when reading in README / Samples?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先檢視 issue 中提到的 README 和 Samples,接著確認 Python SDK 如何公開對 Graph 端點的要求。完成的定義是記錄是否支援任意端點,並示範在 SDK API 未表示某個端點時,如何呼叫及處理例如 reports/getTeamsTeamActivityDetail 的端點。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api, documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。