Currently doing the call below, but getting results with MAC addresses of clients that have been disconnected from the network for hours. Is there another call, or better way to do this? Ideally would want to see only devices currently actively connected to the network, but realistically if it was a reasonable timeframe of error, like a few minutes, I would be fine with that.
wificlientsget = requests.get(
'https://api.meraki.com/api/v0/networks/networkID/clients',
headers={'x-cisco-meraki-api-key': apikey, 'Accept': 'application/json'}
)