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 摘要。