Practice – devcor_350-901_api

Strength:
0%
Answered: 0 • Correct: 0 • Incorrect: 0

Logged in as Guest

Complete the request to list Meraki organizations and print the first organization id.

Drag the correct code snippets from the options panel into the placeholders in the code window.

import requests key = {{1}} headers = {"X-Cisco-Meraki-API-Key": key, "Accept": "application/json"} r = requests.get("https://api.meraki.com/api/v1/organizations", headers=headers, timeout=10) orgs = r.json() print(orgs[0][{{2}}])

Drag a snippet from the right into each blank box in the code.

Available snippets

"id"
"serial"
"token"
"roomId"
"orgId"
"uuid"
"REPLACE_WITH_MERAKI_KEY"
"name"