Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a7f91e4

Browse files
Merge pull request #3 from areed1192/add-workbooks-branch
add initial file
2 parents 12602ed + a6794a2 commit a7f91e4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

‎ms_graph/workbooks.py‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
from typing import Dict
2+
from ms_graph.session import GraphSession
3+
4+
5+
class Workbooks():
6+
7+
"""
8+
## Overview:
9+
----
10+
You can use Microsoft Graph to allow web and mobile applications to
11+
read and modify Excel workbooks stored in OneDrive for Business, SharePoint
12+
site or Group drive. The Workbook (or Excel file) resource contains all the
13+
other Excel resources through relationships. You can access a workbook through
14+
the Drive API by identifying the location of the file in the URL.
15+
"""
16+
17+
def __init__(self, session: object) -> None:
18+
"""Initializes the `Workbooks` object.
19+
20+
### Parameters
21+
----
22+
session : object
23+
An authenticated session for our Microsoft Graph Client.
24+
"""
25+
26+
# Set the session.
27+
self.graph_session: GraphSession = session
28+
29+
# Set the endpoint.
30+
self.endpoint = 'workbook'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /