Crate peeringdb_rs

Crate peeringdb_rs 

Source
Expand description

§Accessing PeeringDB data with API calls

peeringdb_rs is a utility crate to help users accessing important data provided by PeeringDB with their public API.

This is an unofficial crate and use it with caution.

§Supported Data Types

Use the public function load_peeringdb_XXXX() to get a Vec of the corresponding data objects above. For example, load_peeringdb_net will return a Vec of PeeringdbNet if success.

§PeeringDB API key required

It is strongly recommended to obtain a PeeringDB API key and set the PEERINGDB_API_KEY environment variable. Without it, the API call will likely to fail due to rate limiting.

Structs§

PeeringdbIx
PeeringdbNet
PeeringdbNetixlan
PeeringdbOrg

Functions§

load_peeringdb_ix
load_peeringdb_net
load_peeringdb_netixlan
load_peeringdb_org