Origin

Origin #

The origin handler will return the current source ASN for the IP requested.

c = bgpstuff.Client()

c.get_origin("1.1.1.1")
if c.origin:
    print(f"The origin for 1.1.1.1 is AS{c.origin}")
The origin for 1.1.1.1 is AS13335
TODO