ASN Lookup API - Dart/Flutter Client

ASN Lookup is a simple tool for getting information on Autonomous System Numbers (ASNs). It returns information on various ASNs.

pub package License: MIT

This is the Dart/Flutter client for the ASN Lookup API.

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_asnlookup: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_asnlookup/apiverve_asnlookup.dart';

void main() async {
  final client = AsnlookupClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'asn': 'AS15169'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "asn": "AS15169",
    "simple": "15169",
    "handle": "GOOGLE",
    "description": "Google LLC"
  }
}

API Reference

Authentication

All requests require an API key. Get yours at apiverve.com.

License

MIT License - see LICENSE for details.


Built with Dart for APIVerve

Libraries

apiverve_asnlookup
ASN Lookup API client for Dart/Flutter