Returns a translation with the given id

def get_translation(self, uid):
        '''
            Returns a translation with the given id
        '''
        result = self.api_call('translation/{}/'.format(uid))
        if result.status_code == 200:
            translation = Translation(**json.loads(result.content))
        else:
            log.critical(
                'Error status when fetching translation from server: {'
                '}!'.format(
                    result.status_code))
            raise ValueError(result.content)
        return translation