webfilteringdatabase 1.0.4 copy "webfilteringdatabase: ^1.0.4" to clipboard
webfilteringdatabase: ^1.0.4 copied to clipboard

Dart client for Web Filtering Database, with typed API errors, configurable timeouts, and JSON results.

example/example.dart

import 'dart:io';
import 'package:webfilteringdatabase/webfilteringdatabase.dart';

Future<void> main() async {
  final client = WebFilteringDatabaseClient(
      apiKey: Platform.environment['AQ_API_KEY'] ?? '');
  try {
    print(await client.classify('example.com'));
  } finally {
    client.close();
  }
}
0
likes
150
points
--
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Dart client for Web Filtering Database, with typed API errors, configurable timeouts, and JSON results.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http

More

Packages that depend on webfilteringdatabase