Create usosapi.py

First version of the module.