Class Client

java.lang.Object
ai.webscraping.Client

public final class Client extends Object
Official Java client for the WebScraping.AI API.

Typical use:


 Client client = new Client(Config.builder().apiKey("YOUR_KEY").build());
 String html = client.html(HtmlOptions.builder()
     .url("https://example.com")
     .js(true)
     .build());
 

All methods are synchronous. Errors are unchecked: any non-2xx response throws a typed ApiException subclass; transport-level failures throw ApiTimeoutException or ApiConnectionException.