Skip to content

Commit 8fb83e2

Browse files
committed
SDK regeneration
1 parent e3a6071 commit 8fb83e2

File tree

20 files changed

+307
-770
lines changed

20 files changed

+307
-770
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ The SDK provides access to raw response data, including headers, through the `.w
205205
The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
206206

207207
```python
208-
from browser_use import BrowserUse
208+
from browser_use import BrowserUseClient
209209

210-
client = BrowserUse(
210+
client = BrowserUseClient(
211211
...,
212212
)
213213
response = client.tasks.with_raw_response.create_task(...)
@@ -241,9 +241,9 @@ The SDK defaults to a 60 second timeout. You can configure this with a timeout o
241241

242242
```python
243243

244-
from browser_use import BrowserUse
244+
from browser_use import BrowserUseClient
245245

246-
client = BrowserUse(
246+
client = BrowserUseClient(
247247
...,
248248
timeout=20.0,
249249
)
@@ -262,9 +262,9 @@ and transports.
262262

263263
```python
264264
import httpx
265-
from browser_use import BrowserUse
265+
from browser_use import BrowserUseClient
266266

267-
client = BrowserUse(
267+
client = BrowserUseClient(
268268
...,
269269
httpx_client=httpx.Client(
270270
proxies="http://my.test.proxy.example.com",
@@ -483,9 +483,9 @@ A full reference for this library is available [here](https://github.com/browser
483483
Instantiate and use the client with the following:
484484

485485
```python
486-
from browser_use import BrowserUse
486+
from browser_use import BrowserUseClient
487487

488-
client = BrowserUse(
488+
client = BrowserUseClient(
489489
api_key="YOUR_API_KEY",
490490
)
491491
client.tasks.create_task(
@@ -500,9 +500,9 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
500500
```python
501501
import asyncio
502502

503-
from browser_use import AsyncBrowserUse
503+
from browser_use import AsyncBrowserUseClient
504504

505-
client = AsyncBrowserUse(
505+
client = AsyncBrowserUseClient(
506506
api_key="YOUR_API_KEY",
507507
)
508508

assets/cloud-banner-python.png

-33.9 KB
Binary file not shown.

examples/async_create.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

examples/async_retrieve.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

examples/async_run.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

examples/async_stream.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)