Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the PDB endpoint uri #5

Open
netravnen opened this issue Mar 4, 2020 · 0 comments
Open

Change the PDB endpoint uri #5

netravnen opened this issue Mar 4, 2020 · 0 comments

Comments

@netravnen
Copy link
Contributor

netravnen commented Mar 4, 2020

PeeringDB supports /api/ixpfx for fetching Internet Exchange Point peering lan's.

E.g. curl -sG https://peeringdb.com/api/ixpfx --data-urlencode fields=prefix | jq -r '.data[].prefix' | sort -V

This is better than the current approach. Because /api/ixlan?depth=2 is about 26 MB large JSON file to fetch, not very efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant