Skip to main content

Python client for IP ASN History

Project description

Documentation Status

PyIPASNHistory

This is the client API for IP ASN History.

Installation

pip install pyipasnhistory

Usage

Command line

You can use the ipasnhistory command to query the instance.

usage: ipasnhistory [-h] [--url URL] (--meta | --file FILE | --ip IP) [--source SOURCE] [--address_family ADDRESS_FAMILY] [--date DATE] [--first FIRST]
                    [--last LAST]

Run a query against IP ASN History

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL of the instance.
  --meta                Get meta information.
  --file FILE           Mass process queries from a file.
  --ip IP               IP to lookup
  --source SOURCE       Source to query (currently, only "caida" and "ripe_rrc00" are supported)
  --address_family ADDRESS_FAMILY
                        Can be either v4 or v6
  --date DATE           Exact date to lookup. Fallback to most recent available.
  --first FIRST         First date in the interval
  --last LAST           Last date in the interval

Library

See API Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyipasnhistory-2.1.2.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

pyipasnhistory-2.1.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page