API assistance

Tod
Here to help

API assistance

Screenshot 2024-08-15 at 11.55.17 AM.png

I am attempting to extract a list of all clients on a specific SSID.

I have managed to get a list of all clients but the client list only includes the device ID. Mac, and IP.  What I really want is the device description and manufacture as it shown in the Meraki cloud portal.

I have been unable to identify the correct commands to extract this information.  Can someone point me the right direction?

 

1 Reply 1
RaphaelL
Kind of a big deal
Kind of a big deal

Hi ,

 

https://developer.cisco.com/meraki/api-v1/get-network-clients/

 

Will return those fields.

 

[
    {
        "id": "k74272e",
        "mac": "22:33:44:55:66:77",
        "ip": "1.2.3.4",
        "ip6": "2001:db8:3c4d:15::1",
        "description": "Miles's phone",
        "firstSeen": 1518365681,
        "lastSeen": 1526087474,
        "manufacturer": "Apple",
        "os": "iOS",
        "user": "milesmeraki",
        "vlan": "100",
        "ssid": "My SSID",
        "switchport": "My switch port",
        "wirelessCapabilities": "802.11b - 2.4 GHz",
        "smInstalled": true,
        "recentDeviceMac": "22:33:44:55:66:77",
        "status": "Online",
        "usage": { "sent": 138, "recv": 61 },
        "namedVlan": "My VLAN",
        "adaptivePolicyGroup": "2: Infrastructure",
        "deviceTypePrediction": "iPhone SE, iOS9.3.5",
        "recentDeviceSerial": "00:11:22:33:44:55",
        "recentDeviceName": "Q234-ABCD-5678",
        "recentDeviceConnection": "Wired",
        "notes": "My AP's note",
        "ip6Local": "fe80:0:0:0:1430:aac1:6826:75ab",
        "groupPolicy8021x": "Student_Access",
        "pskGroup": "Group 1"
    }
]
Get notified when there are additional replies to this discussion.