Using python API to query twer data