The records section in the API response is a list of nested dictionary which you have to parse to retrieve the keys you need.
For example the structure of this API response is something like this -
API response = { key:value, record:{ [ { key1:value1, key2:value2, etc.} ] } }
In order to access the inner values of this nested dictionary you can do
record = response['records']
print ('\n' + 'Here is what I found: ' + '\n')
print("IP is ", record[0]['ip'])
print("SwitchPort is ", record[0]['switchport'])
print("Status is ", record[0]['status'])
You can learn about nested dictionaries here