from tago import Tago
import json
ACCOUNT_TOKEN = '9740f4d7-6031-4195-8ad4-4bc73e25c79e'
account_devices = Devices(ACCOUNT_TOKEN)
tags = [{
'key': 'analysis',
'value': 'geotraq',
}]
my_filter = {
'tags': tags
}
devices = account_devices.list(1, ['id', 'tags'], my_filter, 1000)
print(devices)```