Slide 33
Slide 33 text
Google APIs
requests = [{
"insertText": {"objectId": page_title["objectId"],
"text": "Google APIs samples",
},
},
{
"insertText": {"objectId": page_body["objectId"],
"text": "Visit the docs at https://developers.google.com/",
},
},
]
request_body = {"requests": requests}
response = (
service.presentations()
.batchUpdate(presentationId=PRESENTATION_ID, body=request_body)
.execute()
)
API for adding texts to a page on Google Slides
There’s an API for that!
@mariatta
PyCon Colombia 2022