from pipedream import Pipedream
# Initialize the Pipedream SDK client
pd = Pipedream(
project_id=PIPEDREAM_PROJECT_ID,
project_environment=PIPEDREAM_ENVIRONMENT,
client_id=PIPEDREAM_CLIENT_ID,
client_secret=PIPEDREAM_CLIENT_SECRET,
)
# Search for Google Sheets apps, sorted by featured weight
apps = pd.apps.list(
q="google sheets",
sort_key="featured_weight",
sort_direction="desc"
)