microsoftgraph / microsoftgraph/msgraph-sdk-python

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

Open
#245 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the README and Samples mentioned in the issue, then check how the Python SDK exposes requests to Graph endpoints. Done means documenting whether arbitrary endpoints are supported and showing how to call and process an endpoint such as reports/getTeamsTeamActivityDetail when it is not represented by the SDK API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.