Skip to content

brettkrueger/bgpmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgpmon Build Status

A Python wrapper for the bgpmon (https://bgpmon.net) SOAP API.

How to install

pip install bgpmon

or

git clone https://github.com/zksnarky/bgpmon.git
cd bgpmon
python setup.py build
python setup.py install

Example usage

>>> from bgpmon import *
>>> bgpmon=BGPMon()
>>> print(bgpmon.getIpInfo(email,passwd,"103.201.129.0"))
[(Prefix_info){
   prefix = "103.201.129.0/24"
   prefix_description = "xTom Japan"
   country_code = "unknown"
   origin_as = "134829"
   origin_as_name = "xTom Global Anycast Services"
 }]

Example usage with proxy

>>> from bgpmon import *
>>> bgpmon=BGPMon('http://user:password@host:port')
>>> print(bgpmon.getIpInfo(email,passwd,"103.201.129.0"))
[(Prefix_info){
   prefix = "103.201.129.0/24"
   prefix_description = "xTom Japan"
   country_code = "unknown"
   origin_as = "134829"
   origin_as_name = "xTom Global Anycast Services"
 }]

About

A Python wrapper for the bgpmon SOAP API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages