Python class for azure translate api