[Meraki SDK] API Endpoint client.organizations.get_organization_inventory() output question

SOLVED
ToryDav
Building a reputation

[Meraki SDK] API Endpoint client.organizations.get_organization_inventory() output question

[
  {
    "mac": "00:11:22:33:44:55",
    "serial": "Q234-ABCD-5678",
    "networkId": "N_24329156",
    "model": "MR34",
    "claimedAt": 1518365681,
    "publicIp": "123.123.123.1",
    "name": "My AP"
  }
]

 Looking at the above output claimedAt appears to hold the date claimed but it's in a strange format. How can I pull the date a device was claimed from the SDK? 

I am building an asset inventory script and I need this data point included in my data set. 

1 ACCEPTED SOLUTION
NolanHerring
Kind of a big deal

That should be 'epoch', which you can convert here

https://www.epochconverter.com/
Nolan Herring | nolanwifi.com
TwitterLinkedIn

View solution in original post

1 REPLY 1
NolanHerring
Kind of a big deal

That should be 'epoch', which you can convert here

https://www.epochconverter.com/
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Get notified when there are additional replies to this discussion.