Basic API access working in Python3