With Google Slides, you can create, edit, collaborate, and present wherever you are. For free.Google Slides makes your ideas shine with a variety of presentation themes, hundreds of fonts, embedded video, animations, and more.Choose from a wide variety of pitches, portfolios and other pre-made presentations — all designed to make your work that much better, and your life that much easier.Access, create, and edit your presentations wherever you go — from your phone, tablet, or computer — even when there’s no connection.
Get AccessToken.
Field | Type | Description |
---|---|---|
clientId | credentials | Client ID |
clientSecret | credentials | Client secret |
code | String | Code you received from Google after the user granted access |
redirectUri | String | The same redirect URL as in received Code step. |
Get new accessToken by refreshToken.
Field | Type | Description |
---|---|---|
clientId | credentials | Client ID |
clientSecret | credentials | Client secret |
refreshToken | String | A token that you can use to obtain a new access token. Refresh tokens are valid until the user revokes access. Again, this field is only present in this response if you set the access_type parameter to offline in the initial request to Google’s authorization server. |
In some cases a user may wish to revoke access given to an application. A user can revoke access by visiting Account Settings. It is also possible for an application to programmatically revoke the access given to it. Programmatic revocation is important in instances where a user unsubscribes or removes an application. In other words, part of the removal process can include an API request to ensure the permissions granted to the application are removed.
Field | Type | Description |
---|---|---|
accessToken | String | The token can be an access token or a refresh token. If the token is an access token and it has a corresponding refresh token, the refresh token will also be revoked. |
Gets the latest version of the specified presentation.
Field | Type | Description |
---|---|---|
accessToken | String | Access Token. Use getAccessToken to get it. |
presentationId | String | The ID of the presentation to retrieve. |
Gets the latest version of the specified page in the presentation.
Field | Type | Description |
---|---|---|
accessToken | String | Access Token. Use getAccessToken to get it. |
presentationId | String | The ID of the presentation to retrieve. |
pageObjectId | String | The object ID of the page to retrieve. |
Creates a new presentation using the title given in the request. Other fields in the request are ignored. Returns the created presentation.Also see google guide and documentation.
Field | Type | Description |
---|---|---|
accessToken | String | Access Token. Use getAccessToken to get it. |
title | String | The title of the presentation. |
Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image.
Field | Type | Description |
---|---|---|
accessToken | String | Access Token. Use getAccessToken to get it. |
presentationId | String | The ID of the presentation to retrieve. |
pageObjectId | String | The object ID of the page to retrieve. |
thumbnailPropertiesMimeType | String | The optional mime type of the thumbnail image.If you don’t specify the mime type, the default mime type will be PNG. |
thumbnailPropertiesThumbnailSize | Select | The predefined thumbnail image sizes.THUMBNAIL_SIZE_UNSPECIFIED - The default thumbnail image size.The unspecified thumbnail size implies that the server chooses the size of the image in a way that might vary in the future.large - The thumbnail image width of 1600px. |
Applies one or more updates to the presentation.Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied.Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies: the reply to the third request, and another empty reply, in that order.Because other users may be editing the presentation, the presentation might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the presentation should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.More info here.
Field | Type | Description |
---|---|---|
accessToken | String | Access Token. Use getAccessToken to get it. |
presentationId | String | The ID of the presentation to update. |
requests | List | A list of updates to apply to the presentation.All possible objects. |
writeControl | JSON | Provides control over how write requests are executed. More info here. |
Create empty text box.
{
"createShape": {
"objectId": "{randomInt}",
"shapeType": "TEXT_BOX",
"elementProperties": {
"pageObjectId": "p",
"size": {
"height": {
"magnitude": 350,
"unit": "PT"
},
"width": {
"magnitude": 350,
"unit": "PT"
}
},
"transform": {
"scaleX": 1,
"scaleY": 1,
"translateX": 350,
"translateY": 100,
"unit":"PT"
}
}
}
}