Skip to content

Commit 9556441

Browse files
feat(api): api update
1 parent d85c264 commit 9556441

3 files changed

Lines changed: 29 additions & 31 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-53bd1b5a6d4207268e23f4d22e28317d660c8c27a2be37c5cc9db2702cf04b6c.yml
3-
openapi_spec_hash: 71974f160905d65b2dc8ad871c994c98
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-eb5286aea707c617b23a4a5f5a7720af2bbb3f76b4b7354faa466489073b9bb1.yml
3+
openapi_spec_hash: fbb7a3c05db6c108b979807731752dd6
44
config_hash: 7f48d078645cb8331328bcd6f6ab3281

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Brand Dev
189+
Copyright 2026 Brand Dev
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

src/brand/dev/resources/brand.py

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ def ai_query(
201201
extra_body: Body | None = None,
202202
timeout: float | httpx.Timeout | None | NotGiven = not_given,
203203
) -> BrandAIQueryResponse:
204-
"""Beta feature: Use AI to extract specific data points from a brand's website.
204+
"""Use AI to extract specific data points from a brand's website.
205205
206-
The
207-
AI will crawl the website and extract the requested information based on the
208-
provided data points.
206+
The AI will crawl
207+
the website and extract the requested information based on the provided data
208+
points.
209209
210210
Args:
211211
data_to_extract: Array of data points to extract from the website
@@ -256,8 +256,8 @@ def fonts(
256256
timeout: float | httpx.Timeout | None | NotGiven = not_given,
257257
) -> BrandFontsResponse:
258258
"""
259-
Beta feature: Extract font information from a brand's website including font
260-
families, usage statistics, fallbacks, and element/word counts.
259+
Extract font information from a brand's website including font families, usage
260+
statistics, fallbacks, and element/word counts.
261261
262262
Args:
263263
domain: Domain name to extract fonts from (e.g., 'example.com', 'google.com'). The
@@ -1429,12 +1429,12 @@ def screenshot(
14291429
extra_body: Body | None = None,
14301430
timeout: float | httpx.Timeout | None | NotGiven = not_given,
14311431
) -> BrandScreenshotResponse:
1432-
"""Beta feature: Capture a screenshot of a website.
1432+
"""Capture a screenshot of a website.
14331433
1434-
Supports both viewport
1435-
(standard browser view) and full-page screenshots. Can also screenshot specific
1436-
page types (login, pricing, etc.) by using heuristics to find the appropriate
1437-
URL. Returns a URL to the uploaded screenshot image hosted on our CDN.
1434+
Supports both viewport (standard browser
1435+
view) and full-page screenshots. Can also screenshot specific page types (login,
1436+
pricing, etc.) by using heuristics to find the appropriate URL. Returns a URL to
1437+
the uploaded screenshot image hosted on our CDN.
14381438
14391439
Args:
14401440
domain: Domain name to take screenshot of (e.g., 'example.com', 'google.com'). The
@@ -1495,9 +1495,8 @@ def styleguide(
14951495
timeout: float | httpx.Timeout | None | NotGiven = not_given,
14961496
) -> BrandStyleguideResponse:
14971497
"""
1498-
Beta feature: Automatically extract comprehensive design system information from
1499-
a brand's website including colors, typography, spacing, shadows, and UI
1500-
components.
1498+
Automatically extract comprehensive design system information from a brand's
1499+
website including colors, typography, spacing, shadows, and UI components.
15011500
15021501
Args:
15031502
domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
@@ -1689,11 +1688,11 @@ async def ai_query(
16891688
extra_body: Body | None = None,
16901689
timeout: float | httpx.Timeout | None | NotGiven = not_given,
16911690
) -> BrandAIQueryResponse:
1692-
"""Beta feature: Use AI to extract specific data points from a brand's website.
1691+
"""Use AI to extract specific data points from a brand's website.
16931692
1694-
The
1695-
AI will crawl the website and extract the requested information based on the
1696-
provided data points.
1693+
The AI will crawl
1694+
the website and extract the requested information based on the provided data
1695+
points.
16971696
16981697
Args:
16991698
data_to_extract: Array of data points to extract from the website
@@ -1744,8 +1743,8 @@ async def fonts(
17441743
timeout: float | httpx.Timeout | None | NotGiven = not_given,
17451744
) -> BrandFontsResponse:
17461745
"""
1747-
Beta feature: Extract font information from a brand's website including font
1748-
families, usage statistics, fallbacks, and element/word counts.
1746+
Extract font information from a brand's website including font families, usage
1747+
statistics, fallbacks, and element/word counts.
17491748
17501749
Args:
17511750
domain: Domain name to extract fonts from (e.g., 'example.com', 'google.com'). The
@@ -2917,12 +2916,12 @@ async def screenshot(
29172916
extra_body: Body | None = None,
29182917
timeout: float | httpx.Timeout | None | NotGiven = not_given,
29192918
) -> BrandScreenshotResponse:
2920-
"""Beta feature: Capture a screenshot of a website.
2919+
"""Capture a screenshot of a website.
29212920
2922-
Supports both viewport
2923-
(standard browser view) and full-page screenshots. Can also screenshot specific
2924-
page types (login, pricing, etc.) by using heuristics to find the appropriate
2925-
URL. Returns a URL to the uploaded screenshot image hosted on our CDN.
2921+
Supports both viewport (standard browser
2922+
view) and full-page screenshots. Can also screenshot specific page types (login,
2923+
pricing, etc.) by using heuristics to find the appropriate URL. Returns a URL to
2924+
the uploaded screenshot image hosted on our CDN.
29262925
29272926
Args:
29282927
domain: Domain name to take screenshot of (e.g., 'example.com', 'google.com'). The
@@ -2983,9 +2982,8 @@ async def styleguide(
29832982
timeout: float | httpx.Timeout | None | NotGiven = not_given,
29842983
) -> BrandStyleguideResponse:
29852984
"""
2986-
Beta feature: Automatically extract comprehensive design system information from
2987-
a brand's website including colors, typography, spacing, shadows, and UI
2988-
components.
2985+
Automatically extract comprehensive design system information from a brand's
2986+
website including colors, typography, spacing, shadows, and UI components.
29892987
29902988
Args:
29912989
domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The

0 commit comments

Comments
 (0)