Added API methods to kopy.py.
I've confirmed that I can upload and download encrypted and plaintext documents, both from the web app and the API, and that they are compatible.
I've decided that it'd be better for kopy.py to live in a directory called api.