title: In Python How do I get specific Fields from Json response?
body: <p>Hello everyone here is my Json response: </p>
  
  <pre><code>{
    "assets": [
      {
        "id": 518447,
        "created_at": "2019-09-10T10:13:38Z",
        "priority": 10,
        "operating_system": "Microsoft - Windows - Windows Server 2008 R2, Enterprise Edition - SP1",
        "notes": null,
        "last_booted_at": null,
        "primary_locator": "external_id",
        "locator": "1112359",
        "vulnerabilities_count": 22,
        "status": "active",
        "last_seen_time": "2019-09-08T16:00:17Z",
        "network_ports": [
          {
            "id": 33550493,
            "port_number": 180,
            "extra_info": "",
            "hostname": null,
            "name": "HTTP",
            "ostype": "",
            "product": "JBoss EAP",
            "protocol": "tcp",
            "state": "open",
            "version": "4.2.3.GA"
          },
          {
            "id": 33550494,
            "port_number": 100,
            "extra_info": "",
            "hostname": null,
            "name": "SNMP",
            "ostype": "",
            "product": null,
            "protocol": "udp",
            "state": "open",
            "version": null
          },
  
        ],
        "tags": [
          "Windows Server",
          "DO - DO SPG BOM"
        ],
        "owner": null,
        "urls": {
          "vulnerabilities": ""
        },
        "ip_address": "10.10.10.1",
        "database": null,
        "hostname": null,
        "fqdn": null,
        "netbios": null,
        "application": null,
        "file": null,
        "mac_address": null,
        "ec2": null,
        "url": null,
        "external_id": "1112359",
        "ipv6": null,
        "asset_groups": [
          {
            "id": 4,
            "name": "0 Global - All"
          },
          {
            "id": 204,
            "name": "DO - All"
          },
          {
            "id": 417,
            "name": "Do - All"
          }
        ]
      },
  </code></pre>
  
  <p>What I want to do is to get specifc fields such as the tags, operating system, etc. but I do not know what logic I am supposed to implement in this case to cherry pick which piece of information I want gather.</p>
  
  <p>here is what I done so far </p>
  
  <pre><code>import requests
  import  gzip
  import json
  
  url = 'https://api.thisismyurl.com/assets/'
  token = 'Blahblahblah'
  # 'Content-Type': 'application/json'
  headers = {'X-Risk-Token': token, 'Accept': 'application/json'}
  response = requests.get(url,headers=headers)
  print(response.status_code)
  json_format = json.loads(response.text)
  </code></pre>
  
  <p>here is where I dont know how to necessarily  move forward  in this case. </p>
  
  <p>Any ideas?</p>