Skip to content

bgpkit/peeringdb-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peeringdb-rs: unofficial utility crate for accessing PeeringDB data

This readme is generated from the library's doc comments using cargo-readme. Please refer to the Rust docs website for the full documentation

Crates.io Docs.rs License

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

  • net: [PeeringdbIx]
  • org: [PeeringdbOrg]
  • ix: [PeeringdbIx]
  • netixlan: [PeeringdbNetixlan]

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.

License

See PeeringDB Acceptable Use Policy for usage and license information.

The usage of this library is under MIT license.

About

Unofficial PeeringDB data SDK.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages