Is there any way to just list the wireless access points from a network, and count the devices connected to each of them? I noticed that the endpoint for listing devices doesn't specify which device type.
Are you specifically looking for an API way to do this? If not you can also get the info from the client summary page by filtering on wireless clients, enabled the connected to column, and then export to csv.