This readme is generated from the library's doc comments using cargo-readme. Please refer to the Rust docs website for the full documentation
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.
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.
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.
See PeeringDB Acceptable Use Policy for usage and license information.
The usage of this library is under MIT license.