Antybrowser SDK for Elixir

Hex.pm

Official Elixir client for the Antybrowser Local API.

Installation

Hex

# mix.exs
def deps do
[{:antybrowser, "~> 1.0"}]
end
mix deps.get

Other SDKs

Usage

client = Antybrowser.new("your_api_key")
# List profiles
{:ok, profiles} = Antybrowser.get_profiles(client)
# Create a profile
{:ok, profile} = Antybrowser.create_profile(client, %{name: "My Profile"})
# Start a profile
{:ok, result} = Antybrowser.start_profile(client, profile["id"])
# Stop a profile
{:ok, _} = Antybrowser.stop_profile(client, profile["id"])
# Delete a profile
{:ok, _} = Antybrowser.delete_profile(client, profile["id"])

API

Constructor

Antybrowser.new(api_key, opts \\ [])

Functions

FunctionDescription
get_status/1Get system status
get_settings/1Get app settings
get_sync_status/1Get sync status
refresh_sync/2Trigger sync refresh (optional profile_id)
get_profiles/1List all profiles
create_profile/2Create a new profile
update_profile/3Update a profile
delete_profile/2Delete a profile
start_profile/2Start a profile browser
stop_profile/2Stop a profile browser
duplicate_profile/3Duplicate a profile (optional name)
get_automations/1List automations
run_automation/3Run an automation
get_groups/1List groups
create_group/2Create a group
update_group/3Update a group
delete_group/2Delete a group
get_proxies/1List proxies
create_proxy/2Create a proxy
check_proxy/2Check proxy connectivity
delete_proxy/2Delete a proxy
get_extensions/1List extensions
delete_extension/2Delete an extension
get_profile_extensions/2List profile extensions
set_profile_extensions/3Set profile extensions

License

MIT