urlcategorizationdatabase 1.0.2 copy "urlcategorizationdatabase: ^1.0.2" to clipboard
urlcategorizationdatabase: ^1.0.2 copied to clipboard

Dart client for URL Categorization Database, with typed API errors, configurable timeouts, and JSON results.

example/example.dart

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

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

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Dart client for URL Categorization 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 urlcategorizationdatabase