Add support for python3 in api.py