We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46f0cb5 + cd62332 commit b254418Copy full SHA for b254418
1 file changed
calendar/quickstart/quickstart.py
@@ -24,6 +24,7 @@
24
# If modifying these scopes, delete the file token.pickle.
25
SCOPES = ['https://www.googleapis.com/auth/calendar.readonly']
26
27
+
28
def main():
29
"""Shows basic usage of the Google Calendar API.
30
Prints the start and name of the next 10 events on the user's calendar.
@@ -63,6 +64,7 @@ def main():
63
64
start = event['start'].get('dateTime', event['start'].get('date'))
65
print(start, event['summary'])
66
67
68
if __name__ == '__main__':
69
main()
70
# [END calendar_quickstart]
0 commit comments