microsoftgraph / microsoftgraph/msgraph-sdk-python
How to use the SDK to write Graph calls that aren't provided by the SDK API
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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