Visualize PeeringDB Data
NetViz is a project aimed at visualizing data from PeeringDB.
The fetch_peeringdb_data.py
script is used to download JSON data from the PeeringDB API. The data will be saved in the data/peeringdb/
directory.
To run the data fetching script:
python3 fetch_peeringdb_data.py
API Key (Optional):
If you have a PeeringDB API key, you can set it as an environment variable named PEERINGDB_API_KEY
before running the script for authenticated access (which may provide higher rate limits):
export PEERINGDB_API_KEY="your_api_key_here"
python3 fetch_peeringdb_data.py
The main.py
script is the primary entry point for the NetViz application. Currently, it's a placeholder, but it will eventually contain the logic for data visualization.
To run the main application:
python3 main.py