Python Class for the MANRS API https://manrs.org
Go to file
Dionysus ebe025e6d7
Updated mirrors in README and LICENSE for 2024
2024-01-20 18:24:08 -05:00
LICENSE Updated mirrors in README and LICENSE for 2024 2024-01-20 18:24:08 -05:00
README.md Updated mirrors in README and LICENSE for 2024 2024-01-20 18:24:08 -05:00
logo.png Initial commit 2023-10-09 16:56:40 -04:00
manrs.py Forgot the conn variable for non-dev api calls 2023-10-18 10:40:52 -04:00

README.md

MANRS API

This is a Python wrapper for the MANRS API, designed to simplify the process of making requests to the MANRS Public API. This class assists in querying data related to routing security, such as ROAs by ASN or country, ASN info, IXP info, and conformance details for CDNs, IXPs, network operators, and equipment vendors.

The official documentation for the MANRS API can be found here

Features:

  • Query ROAs by ASN or country.
  • Retrieve information about all known ASNs and their holders.
  • Fetch data about Internet Exchange Points (IXPs).
  • Get conformance details for different entities participating in MANRS.

How to Use:

Note: You must request access to get an API key!

  1. Initialization: Instantiate the MANRS class with your API key.
import manrs

api = manrs.API('YOUR_API_KEY')
  1. Making Calls: Use the provided methods to make calls to the MANRS API. For instance, to get ROAs by ASN:
response = api.roa_by_asn('AS16661')
  1. Development Mode: If you're working in a development environment, set the dev flag to True during initialization.
api = manrs.API('YOUR_API_KEY', dev=True)

Mirrors for this repository: acid.vegasSuperNETsGitHubGitLabCodeberg