apiverve_asnlookup 1.2.0 copy "apiverve_asnlookup: ^1.2.0" to clipboard
apiverve_asnlookup: ^1.2.0 copied to clipboard

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

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.2.0

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",
    "country": "US"
  }
}

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

0
likes
140
points
59
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_asnlookup