View source on GitHub
|
Builds Looker Studio report URLs.
This package provides tools to construct URLs for Looker Studio reports that embed data directly within the URL itself. This is achieved through the creation of shareable, pre-configured reports without requiring a separate, pre-existing data source.
The primary functionality is exposed through the url_generator module.
Typical Usage:
- Use
url_generator.create_report_url()to create the complete URL, based on asheets.Spreadsheetobject.
Example:
from lookerstudio.linkingapi import url_generator
from lookerstudio.converters import sheets
# Generate the URL
looker_studio_report_url = url_generator.create_report_url(
url="some_url",
id="some_id",
sheet_id_by_tab_name={},
)
# The `looker_studio_report_url` can now be shared to open a pre-populated
# report.
Modules
constants module: Constants shared for the Linking API usage for the Meridian UI.
url_generator module: Utility library for generating a Looker Studio report and outputting the URL.
View source on GitHub