More work on python wrapper for web API