On Wed, Nov 19, 2014 at 12:21 PM, Chris chris@g1fef.co.uk wrote:
I have implemented an API for accessing the Portal data programatically, if you login and select “API” from the menu there is some info there about it.
So far I have only implemented one function: the ability to retrieve the encap routes.
I would appreciated comments / feedback / suggestions as well as any bug reports.
I've written Python bindings for the new AMPR portal API. It abstracts the API calls through a standard Python object and parses the resulting JSON into Python objects.
https://github.com/kd7lxl/python-amprapi
I've updated my script that writes encap routes to Mikrotik devices to use the new API and Python bindings:
https://github.com/kd7lxl/python-amprapi/blob/master/updateros.py
This deprecates the old version found at https://github.com/HamWAN/hamwan_scripts/tree/master/amprupdate
Tom KD7LXL