Skip to content

Commit 7257f37

Browse files
Release 2.0.11
1 parent e76c174 commit 7257f37

18 files changed

+1312
-23
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "browser-use-sdk"
33

44
[tool.poetry]
55
name = "browser-use-sdk"
6-
version = "2.0.10"
6+
version = "2.0.11"
77
description = "The official Python library for the Browser Use API"
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 282 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ client.browsers.update_browser_session(
22222222
<dl>
22232223
<dd>
22242224

2225-
List all skills owned by the authenticated project with optional filtering by public status.
2225+
List all skills owned by the authenticated project with optional filtering.
22262226
</dd>
22272227
</dl>
22282228
</dd>
@@ -2282,6 +2282,38 @@ client.skills.list_skills()
22822282
<dl>
22832283
<dd>
22842284

2285+
**is_enabled:** `typing.Optional[bool]`
2286+
2287+
</dd>
2288+
</dl>
2289+
2290+
<dl>
2291+
<dd>
2292+
2293+
**query:** `typing.Optional[str]`
2294+
2295+
</dd>
2296+
</dl>
2297+
2298+
<dl>
2299+
<dd>
2300+
2301+
**from_date:** `typing.Optional[dt.datetime]`
2302+
2303+
</dd>
2304+
</dl>
2305+
2306+
<dl>
2307+
<dd>
2308+
2309+
**to_date:** `typing.Optional[dt.datetime]`
2310+
2311+
</dd>
2312+
</dl>
2313+
2314+
<dl>
2315+
<dd>
2316+
22852317
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22862318

22872319
</dd>
@@ -2369,6 +2401,14 @@ client.skills.create_skill(
23692401
<dl>
23702402
<dd>
23712403

2404+
**description:** `typing.Optional[str]` — Optional description for the skill (will be generated if not provided)
2405+
2406+
</dd>
2407+
</dl>
2408+
2409+
<dl>
2410+
<dd>
2411+
23722412
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23732413

23742414
</dd>
@@ -2862,6 +2902,247 @@ client.skills.refine_skill(
28622902
</dl>
28632903

28642904

2905+
</dd>
2906+
</dl>
2907+
</details>
2908+
2909+
## SkillsMarketplace
2910+
<details><summary><code>client.skills_marketplace.<a href="src/browser_use_sdk/skills_marketplace/client.py">list_skills</a>(...)</code></summary>
2911+
<dl>
2912+
<dd>
2913+
2914+
#### 📝 Description
2915+
2916+
<dl>
2917+
<dd>
2918+
2919+
<dl>
2920+
<dd>
2921+
2922+
List all public skills available in the marketplace with optional filtering.
2923+
</dd>
2924+
</dl>
2925+
</dd>
2926+
</dl>
2927+
2928+
#### 🔌 Usage
2929+
2930+
<dl>
2931+
<dd>
2932+
2933+
<dl>
2934+
<dd>
2935+
2936+
```python
2937+
from browser_use_sdk import BrowserUse
2938+
2939+
client = BrowserUse(
2940+
api_key="YOUR_API_KEY",
2941+
)
2942+
client.skills_marketplace.list_skills()
2943+
2944+
```
2945+
</dd>
2946+
</dl>
2947+
</dd>
2948+
</dl>
2949+
2950+
#### ⚙️ Parameters
2951+
2952+
<dl>
2953+
<dd>
2954+
2955+
<dl>
2956+
<dd>
2957+
2958+
**page_size:** `typing.Optional[int]`
2959+
2960+
</dd>
2961+
</dl>
2962+
2963+
<dl>
2964+
<dd>
2965+
2966+
**page_number:** `typing.Optional[int]`
2967+
2968+
</dd>
2969+
</dl>
2970+
2971+
<dl>
2972+
<dd>
2973+
2974+
**query:** `typing.Optional[str]`
2975+
2976+
</dd>
2977+
</dl>
2978+
2979+
<dl>
2980+
<dd>
2981+
2982+
**from_date:** `typing.Optional[dt.datetime]`
2983+
2984+
</dd>
2985+
</dl>
2986+
2987+
<dl>
2988+
<dd>
2989+
2990+
**to_date:** `typing.Optional[dt.datetime]`
2991+
2992+
</dd>
2993+
</dl>
2994+
2995+
<dl>
2996+
<dd>
2997+
2998+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2999+
3000+
</dd>
3001+
</dl>
3002+
</dd>
3003+
</dl>
3004+
3005+
3006+
</dd>
3007+
</dl>
3008+
</details>
3009+
3010+
<details><summary><code>client.skills_marketplace.<a href="src/browser_use_sdk/skills_marketplace/client.py">get_skill</a>(...)</code></summary>
3011+
<dl>
3012+
<dd>
3013+
3014+
#### 📝 Description
3015+
3016+
<dl>
3017+
<dd>
3018+
3019+
<dl>
3020+
<dd>
3021+
3022+
Get details of a specific public skill from the marketplace.
3023+
</dd>
3024+
</dl>
3025+
</dd>
3026+
</dl>
3027+
3028+
#### 🔌 Usage
3029+
3030+
<dl>
3031+
<dd>
3032+
3033+
<dl>
3034+
<dd>
3035+
3036+
```python
3037+
from browser_use_sdk import BrowserUse
3038+
3039+
client = BrowserUse(
3040+
api_key="YOUR_API_KEY",
3041+
)
3042+
client.skills_marketplace.get_skill(
3043+
skill_id="skill_id",
3044+
)
3045+
3046+
```
3047+
</dd>
3048+
</dl>
3049+
</dd>
3050+
</dl>
3051+
3052+
#### ⚙️ Parameters
3053+
3054+
<dl>
3055+
<dd>
3056+
3057+
<dl>
3058+
<dd>
3059+
3060+
**skill_id:** `str`
3061+
3062+
</dd>
3063+
</dl>
3064+
3065+
<dl>
3066+
<dd>
3067+
3068+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3069+
3070+
</dd>
3071+
</dl>
3072+
</dd>
3073+
</dl>
3074+
3075+
3076+
</dd>
3077+
</dl>
3078+
</details>
3079+
3080+
<details><summary><code>client.skills_marketplace.<a href="src/browser_use_sdk/skills_marketplace/client.py">clone_skill</a>(...)</code></summary>
3081+
<dl>
3082+
<dd>
3083+
3084+
#### 📝 Description
3085+
3086+
<dl>
3087+
<dd>
3088+
3089+
<dl>
3090+
<dd>
3091+
3092+
Clone a public marketplace skill to the user's project.
3093+
</dd>
3094+
</dl>
3095+
</dd>
3096+
</dl>
3097+
3098+
#### 🔌 Usage
3099+
3100+
<dl>
3101+
<dd>
3102+
3103+
<dl>
3104+
<dd>
3105+
3106+
```python
3107+
from browser_use_sdk import BrowserUse
3108+
3109+
client = BrowserUse(
3110+
api_key="YOUR_API_KEY",
3111+
)
3112+
client.skills_marketplace.clone_skill(
3113+
skill_id="skill_id",
3114+
)
3115+
3116+
```
3117+
</dd>
3118+
</dl>
3119+
</dd>
3120+
</dl>
3121+
3122+
#### ⚙️ Parameters
3123+
3124+
<dl>
3125+
<dd>
3126+
3127+
<dl>
3128+
<dd>
3129+
3130+
**skill_id:** `str`
3131+
3132+
</dd>
3133+
</dl>
3134+
3135+
<dl>
3136+
<dd>
3137+
3138+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3139+
3140+
</dd>
3141+
</dl>
3142+
</dd>
3143+
</dl>
3144+
3145+
28653146
</dd>
28663147
</dl>
28673148
</details>

src/browser_use_sdk/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from importlib import import_module
77

88
if typing.TYPE_CHECKING:
9-
from . import billing, browsers, files, profiles, sessions, skills, tasks, workflows
9+
from . import billing, browsers, files, profiles, sessions, skills, skills_marketplace, tasks, workflows
1010
from .client import AsyncBrowserUse, BrowserUse
1111
from .version import __version__
1212
_dynamic_imports: typing.Dict[str, str] = {
@@ -19,6 +19,7 @@
1919
"profiles": ".",
2020
"sessions": ".",
2121
"skills": ".",
22+
"skills_marketplace": ".",
2223
"tasks": ".",
2324
"workflows": ".",
2425
}
@@ -53,6 +54,7 @@ def __dir__():
5354
"profiles",
5455
"sessions",
5556
"skills",
57+
"skills_marketplace",
5658
"tasks",
5759
"workflows",
5860
]

src/browser_use_sdk/base_client.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from .profiles.client import AsyncProfilesClient, ProfilesClient
1616
from .sessions.client import AsyncSessionsClient, SessionsClient
1717
from .skills.client import AsyncSkillsClient, SkillsClient
18+
from .skills_marketplace.client import AsyncSkillsMarketplaceClient, SkillsMarketplaceClient
1819
from .tasks.client import AsyncTasksClient, TasksClient
1920
from .workflows.client import AsyncWorkflowsClient, WorkflowsClient
2021

@@ -91,6 +92,7 @@ def __init__(
9192
self._profiles: typing.Optional[ProfilesClient] = None
9293
self._browsers: typing.Optional[BrowsersClient] = None
9394
self._skills: typing.Optional[SkillsClient] = None
95+
self._skills_marketplace: typing.Optional[SkillsMarketplaceClient] = None
9496
self._workflows: typing.Optional[WorkflowsClient] = None
9597

9698
@property
@@ -149,6 +151,14 @@ def skills(self):
149151
self._skills = SkillsClient(client_wrapper=self._client_wrapper)
150152
return self._skills
151153

154+
@property
155+
def skills_marketplace(self):
156+
if self._skills_marketplace is None:
157+
from .skills_marketplace.client import SkillsMarketplaceClient # noqa: E402
158+
159+
self._skills_marketplace = SkillsMarketplaceClient(client_wrapper=self._client_wrapper)
160+
return self._skills_marketplace
161+
152162
@property
153163
def workflows(self):
154164
if self._workflows is None:
@@ -230,6 +240,7 @@ def __init__(
230240
self._profiles: typing.Optional[AsyncProfilesClient] = None
231241
self._browsers: typing.Optional[AsyncBrowsersClient] = None
232242
self._skills: typing.Optional[AsyncSkillsClient] = None
243+
self._skills_marketplace: typing.Optional[AsyncSkillsMarketplaceClient] = None
233244
self._workflows: typing.Optional[AsyncWorkflowsClient] = None
234245

235246
@property
@@ -288,6 +299,14 @@ def skills(self):
288299
self._skills = AsyncSkillsClient(client_wrapper=self._client_wrapper)
289300
return self._skills
290301

302+
@property
303+
def skills_marketplace(self):
304+
if self._skills_marketplace is None:
305+
from .skills_marketplace.client import AsyncSkillsMarketplaceClient # noqa: E402
306+
307+
self._skills_marketplace = AsyncSkillsMarketplaceClient(client_wrapper=self._client_wrapper)
308+
return self._skills_marketplace
309+
291310
@property
292311
def workflows(self):
293312
if self._workflows is None:

0 commit comments

Comments
 (0)