Extract note from google slide using google-slide-api in Python
This article is one after the previous post ( https://omicsacademy.blogspot.com/2021/03/save-all-google-presentation-slides-as.html ). In this post, you are going to see how we can extract the note information from Google slide using google-slide-api in Python. The first part of the code is the same as the previous post . import urllib.request import json import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from google.oauth2.credentials import Credentials # If modifying these scopes, delete the file token.json. SCOPES = ['https://www.googleapis.com/auth/presentations.readonly'] # The ID of a sample presentation. PRESENTATION_ID = '1-aTBNXcSIqlMRzn-FHnRmRPbGlh5eY8MgZNaBwo15IM' creds = None # The file token.json stores the user's access and refresh tokens, and is # created automatically when the authorization flow completes for the first # ti