Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu bölümde, amaçlanan bir Google Slaytlar işleminin Google Slaytlar API isteğine nasıl çevrileceğini gösteren bir dizi örnek uygulama ve "tarif" örneği sunulmaktadır.
Codelab uygulamaları
Slaytlar
codelab'i,
en yaygın yazılım lisanslarının analizinde Google Slides API'yi özel sunum aracı olarak nasıl kullanacağınızı öğretir.
BigQuery'yi kullanarak GitHub'daki tüm açık kaynak kodunu nasıl sorgulayacağınızı ve sonuçlarınızı sunmak için Slaytlar API'yi kullanarak nasıl slayt destesi oluşturacağınızı öğreneceksiniz.
Bu kodu Slides API'yi keşfetmek için kullanabilir veya depoyu çatallayıp kodu değiştirerek JavaScript uygulamanıza Slides çıktısı sağlayabilirsiniz.
Yemek tarifleri
Bu bölümde listelenen örnekler, Slides'daki yaygın işlemlerin Slides API istekleri olarak nasıl ifade edileceğini gösterir.
Bu örnekler, dilden bağımsız olması için HTTP istekleri olarak sunulur. Google API istemci kitaplıklarını kullanarak belirli bir dilde Slides API istek protokollerini nasıl uygulayacağınızı öğrenmek için aşağıdaki kılavuzlara bakın:
Bu bölümdeki tarifler aşağıdaki kategorilere ayrılmıştır:
Temel okuma: Sunudaki bilgileri okumanın yaygın yollarını gösteren tarifler.
Temel yazma: Sunu yazmanın yaygın yollarını gösteren tarifler.
Öğe işlemleri: Yaygın sayfa öğesi oluşturma ve düzenleme görevlerini gösteren tarifler.
Sunu işlemleri: Sunu oluşturma ve sunu üzerinde değişiklik yapma yöntemlerini gösteren tarifler.
Slayt işlemleri: Sunuda slayt oluşturma, taşıma ve silme işlemlerinin nasıl yapılacağını gösteren tarifler.
Tablo işlemleri: Slayt içinde tablo oluşturma ve düzenleme yöntemlerini gösteren tarifler.
Dönüştürme işlemleri: Slayttaki öğelerin boyutunu ve konumunu değiştirme yöntemlerini gösteren tarifler.
Slides API ile belirli bir görevi tamamlamanın genellikle birden fazla yolu vardır. Mümkün olduğunda birden fazla güncelleme isteğini tek bir yöntem çağrısında birleştirmek için toplu iş yöntemini
presentations.batchUpdate
kullanın.
Bu, istemci HTTP yükünü azaltır, sorgu sayısını azaltır, sunumdaki düzeltme sayısını en aza indirir ve tüm değişiklikleri atomik olarak uygular.
Performansı daha da artırmak için sunuları, sayfaları ve sayfa öğelerini okurken ve güncellerken alan maskeleri kullanın.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-08-29 UTC."],[],[],null,["# Samples\n\nThis section presents a set of sample applications and \"recipe\" examples that\ndemonstrate how to translate an intended Google Slides action into an\nGoogle Slides API request.\n\nCodelabs\n--------\n\nThe [Slides\ncodelab](https://codelabs.developers.google.com/codelabs/slides-api)\nteaches you how to use Google Slides API as a custom presentation tool for an\nanalysis of the most common software licenses.\n\nYou'll learn how to query all open source code on GitHub using [BigQuery](https://cloud.google.com/bigquery) and create a\nslide deck using Slides API to present your results.\n\nSample applications\n-------------------\n\nThe [Markdown to\nSlides](https://github.com/googleworkspace/md2googleslides)\ncommand-line tool lets you generate slide decks from markdown files.\n\nYou can use this to explore the Slides API, or fork the repository and\nmodify the code to provide Slides output to your JavaScript\napplication.\n\nRecipes\n-------\n\nThe examples listed in this section demonstrate how to express common actions in\nSlides as Slides API requests.\n\nThese examples are presented as HTTP requests to be language neutral. To learn\nhow to implement Slides API request protocols in a specific language\nusing Google API client libraries, see the following guides:\n\n- [Create a slide](/workspace/slides/api/guides/create-slide)\n- [Add shapes and text](/workspace/slides/api/guides/add-shape)\n- [Merge data into a presentation](/workspace/slides/api/guides/merge)\n- [Add charts to a slide](/workspace/slides/api/guides/add-chart)\n- [Edit and style text](/workspace/slides/api/guides/styling)\n\nRecipes in this section are divided into the following categories:\n\n- [Basic reading](/workspace/slides/api/samples/reading)---Recipes that show common ways of reading information from a presentation.\n- [Basic writing](/workspace/slides/api/samples/writing)---Recipes that show common ways of writing to a presentation.\n- [Element operations](/workspace/slides/api/samples/elements)---Recipes that show common page element creation and editing tasks.\n- [Presentation operations](/workspace/slides/api/samples/presentation)---Recipes that show how to create and manipulate a presentation.\n- [Slide operations](/workspace/slides/api/samples/slides)---Recipes that show how to create, move, and delete slides in a presentation.\n- [Table operations](/workspace/slides/api/samples/tables)---Recipes that show how to create and edit tables within a slide.\n- [Transform operations](/workspace/slides/api/samples/transform)---Recipes that show how to alter the size and positioning of elements within a slide.\n\nThere's often more than one way to complete a given task with the\nSlides API. Use the batch method\n[`presentations.batchUpdate`](/workspace/slides/api/reference/rest/v1/presentations/batchUpdate)\nwherever possible to bundle multiple update requests into a single method call.\nThis reduces client HTTP overhead, reduces the number of queries, minimizes the\nnumber of revisions on the presentation, and applies all the changes atomically.\n\nTo further improve performance, use [field\nmasks](/workspace/slides/api/guides/field-masks) when reading and updating presentations,\npages, and page elements."]]