Installation
Add to your Cargo.toml:
[]
= "1.0.2"
= { = "1", = ["full"] }
Quick Start
use AntybrowserClient;
async
Configuration
// Default (port 5173)
let client = new;
// Custom port
let client = new.with_port;
// Custom base URL
let client = new
.with_base_url;
Error Handling
use AntybrowserError;
match client.get_profiles.await
API Methods
| Method | Description |
|---|---|
get_status() |
Check API connection |
get_settings() |
Get settings |
get_sync_status() |
Get sync status |
refresh_sync(profile_id) |
Trigger sync |
get_profiles() |
List profiles |
create_profile(request) |
Create profile |
update_profile(id, data) |
Update profile |
delete_profile(id) |
Delete profile |
start_profile(id) |
Start profile |
stop_profile(id) |
Stop profile |
duplicate_profile(id, name) |
Duplicate profile |
get_automations() |
List automations |
run_automation(id, profile_id) |
Run automation |
get_groups() |
List groups |
create_group(request) |
Create group |
update_group(id, data) |
Update group |
delete_group(id) |
Delete group |
get_proxies() |
List proxies |
create_proxy(request) |
Create proxy |
check_proxy(data) |
Check proxy |
delete_proxy(id) |
Delete proxy |
get_extensions() |
List extensions |
delete_extension(id) |
Delete extension |
get_profile_extensions(id) |
Get profile extensions |
set_profile_extensions(id, ids) |
Set profile extensions |
Links
- Antybrowser Website
- GitHub Repository
- crates.io Package
- docs.rs Documentation
- npm Package
- PyPI Package
- NuGet Package
- RubyGems Package
License
MIT