Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "scrapybara"
version = "2.0.7"
version = "2.1.0"
description = ""
readme = "README.md"
authors = []
Expand Down
171 changes: 0 additions & 171 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,177 +761,6 @@ client.instance.resume(
</dl>


</dd>
</dl>
</details>

## Agent
<details><summary><code>client.agent.<a href="src/scrapybara/agent/client.py">act</a>(...)</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from scrapybara import Scrapybara

client = Scrapybara(
api_key="YOUR_API_KEY",
)
client.agent.act(
instance_id="instance_id",
cmd="cmd",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**instance_id:** `str`

</dd>
</dl>

<dl>
<dd>

**cmd:** `str`

</dd>
</dl>

<dl>
<dd>

**include_screenshot:** `typing.Optional[bool]`

</dd>
</dl>

<dl>
<dd>

**model:** `typing.Optional[Model]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.agent.<a href="src/scrapybara/agent/client.py">scrape</a>(...)</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from scrapybara import Scrapybara

client = Scrapybara(
api_key="YOUR_API_KEY",
)
client.agent.scrape(
instance_id="instance_id",
cmd="cmd",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**instance_id:** `str`

</dd>
</dl>

<dl>
<dd>

**cmd:** `str`

</dd>
</dl>

<dl>
<dd>

**schema:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`

</dd>
</dl>

<dl>
<dd>

**include_screenshot:** `typing.Optional[bool]`

</dd>
</dl>

<dl>
<dd>

**model:** `typing.Optional[Model]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
9 changes: 1 addition & 8 deletions src/scrapybara/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

from .types import (
ActResponse,
AuthStateResponse,
BrowserAuthenticateResponse,
BrowserGetCdpUrlResponse,
Expand All @@ -20,7 +19,6 @@
Notebook,
NotebookCell,
SaveBrowserAuthResponse,
ScrapeResponse,
StartBrowserResponse,
Status,
StopBrowserResponse,
Expand All @@ -29,15 +27,13 @@
ValidationErrorLocItem,
)
from .errors import UnprocessableEntityError
from . import agent, browser, code, env, file, instance, notebook
from .agent import Model
from . import browser, code, env, file, instance, notebook
from .client import AsyncScrapybara, Scrapybara
from .environment import ScrapybaraEnvironment
from .instance import Action, Command
from .version import __version__

__all__ = [
"ActResponse",
"Action",
"AsyncScrapybara",
"AuthStateResponse",
Expand All @@ -56,11 +52,9 @@
"InstanceGetStreamUrlResponse",
"InstanceScreenshotResponse",
"KernelInfo",
"Model",
"Notebook",
"NotebookCell",
"SaveBrowserAuthResponse",
"ScrapeResponse",
"Scrapybara",
"ScrapybaraEnvironment",
"StartBrowserResponse",
Expand All @@ -71,7 +65,6 @@
"ValidationError",
"ValidationErrorLocItem",
"__version__",
"agent",
"browser",
"code",
"env",
Expand Down
5 changes: 0 additions & 5 deletions src/scrapybara/agent/__init__.py

This file was deleted.

Loading
Loading