asninfo-0.3.0 is not a library.
ASN Information Data Uploader
This script fetches the most up-to-date ASN information and saves as JSON or JSONL file and may upload to S3/R2 bucket if environment variables are set.
Install
Using cargo
Using homebrew on macOS
Using cargo-binstall
Install cargo-binstall first:
Then install asninfo using cargo binstall
Usage
A utility tool to export ASN information to JSON files.
Usage: asninfo [OPTIONS] [PATH]
Arguments:
[PATH] Export data path [default: ./asninfo.jsonl]
Options:
-u, --upload Flag to enable upload to S3-compatible object storage
-s, --simplified Simplified format
-h, --help Print help
-V, --version Print version
S3 upload environment variables
AWS_REGIONAWS_ENDPOINTAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYASNINFO_UPLOAD_PATH: full path withs3orr2prefix, such asr2://spaces/broker/asninfo.jsonl