I want to get the `field1` value of thingspeak channel.

I am getting the following error: 

```
KeyError: 'field1'.

```

This is the API response: 

```
{"channel":{"id":556464,"name":"pir","description":"pir","latitude":"0.0","longitude":"0.0","field1":"intrusuion","created_at":"2018-08-08T19:04:03Z","updated_at":"2018-08-08T19:41:06Z","last_entry_id":49},"feeds":[{"created_at":"2018-08-08T19:41:06Z","entry_id":49,"field1":"1\r\n\r\n"}]}

```

code

```
import urllib.request
import json
import time

while True:
    TS = urllib.request.urlopen("https://api.thingspeak.com/channels/556464/feeds.json?results=1")

    response = TS.read()
    data=json.loads(response)
    b = data['field1']
    print (b)
    time.sleep(5)   
    TS.close()

```