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 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

documentation
主要言語
Python
スター
630
フォーク
96
平均マージ
15時間 20分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。