Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'API Looker offre vari modi di sfruttare un SDK. Suggeriamo di utilizzare uno dei nostri SDK anziché inviare richieste manuali all'API, perché gli SDK gestiscono i complessi dettagli legati all'autenticazione, alla serializzazione dei parametri e delle risposte e ad altri aspetti.
SDK in più linguaggi
Looker offre un SDK client ufficiale dell'API Looker in vari linguaggi:
Ruby: puoi installare l'SDK Ruby sotto forma di gem da rubygems.org. La documentazione e il codice sorgente dell'SDK Ruby di Looker sono disponibili in GitHub.
Python: puoi installare l'SDK Python da pypi.org. La documentazione e il codice sorgente dell'SDK Python di Looker sono disponibili in GitHub.
Typescript e JavaScript: puoi installare l'SDK Typescript/JavaScript da npmjs.com. La documentazione e il codice sorgente dell'SDK Typescript/JavaScript di Looker sono disponibili in GitHub.
Nel repository GitHub SDK Example di Looker sono presenti esempi di codice sorgente e progetti che utilizzano gli SDK per comunicare con l'API Looker.
Generazione di SDK client per l'API Looker
Se non hai dimestichezza con Ruby, Python, Typescript o Javascript o se la tua azienda utilizza un linguaggio di programmazione diverso, puoi generare un SDK client nel linguaggio che preferisci utilizzando la modalità "legacy" del progetto di SDK codegen di Looker. Le istruzioni per l'esecuzione di questa operazione sono disponibili nel repository GitHub SDK Codegen di Looker.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Looker API SDKs\n\n| **Note:** As of Looker 22.4, the [Looker API 4.0 is generally available](/looker/docs/api-4-ga). In Looker 23.18, the [Looker API 3.1 has been removed](/looker/docs/api-3x-deprecation).\n\nThe [Looker API](/looker/docs/api-getting-started) offers different ways to make use of an SDK. We suggest using one of our SDKs, instead of making manual requests to the API, because the SDKs handle the intricate details of authentication, parameter serialization, response serialization, and other concerns.\n\nLanguage SDKs\n-------------\n\nLooker offers an official Looker API client SDK in several languages:\n\n- Ruby: You can install the Ruby SDK as a gem from [rubygems.org](https://rubygems.org/gems/looker-sdk). Looker Ruby SDK documentation and source code reside on [GitHub](https://github.com/looker-open-source/looker-sdk-ruby).\n\n- Python: You can install the Python SDK from [pypi.org](https://pypi.org/project/looker-sdk/). Looker Python SDK documentation and source code reside on [GitHub](https://github.com/looker-open-source/sdk-codegen/tree/master/python).\n\n- Typescript and JavaScript: You can install the Typescript/JavaScript SDK from [npmjs.com](https://www.npmjs.com/package/@looker/sdk). Looker Typescript/JavaScript SDK documentation and source code reside on [GitHub](https://github.com/looker-open-source/sdk-codegen/tree/master/packages/sdk).\n\nYou can find source code and project examples that use SDKs to communicate with the Looker API in Looker's [SDK Example GitHub repository](https://github.com/looker-open-source/sdk-codegen/tree/main/examples).\n\nGenerating client SDKs for the Looker API\n-----------------------------------------\n\nIf you are not familiar with Ruby, Python, Typescript, or Javascript, or if your company uses a different programming language, you can generate a client SDK in the language of your choice using the \"legacy\" mode of Looker's SDK codegen project. Instructions for doing so can be found in Looker's [SDK Codegen GitHub repository](https://github.com/looker-open-source/sdk-codegen)."]]