import requests

url = "https://webexapis.com/v1/rooms"

payload={}

# Generare il proprio token dal sito https://developer.webex.com
headers = {
  'Authorization': 'Bearer <token_da_inserire_qui>'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.status_code)

rjson = response.json()

#print(json.dumps(rjson, indent=2))

for room in rjson['items']:
  if room['title'] == "Corso DevNet Associate 2021/A":
    print(room['id'])
862135b9406604465a7e3203a8c2ae34096cb07e
<mask token>

<mask token>
print(response.status_code)
<mask token>
for room in rjson['items']:
    if room['title'] == 'Corso DevNet Associate 2021/A':
        print(room['id'])

<mask token>
url = 'https://webexapis.com/v1/rooms'
payload = {}
headers = {'Authorization': 'Bearer <token_da_inserire_qui>'}
response = requests.request('GET', url, headers=headers, data=payload)
print(response.status_code)
rjson = response.json()
for room in rjson['items']:
    if room['title'] == 'Corso DevNet Associate 2021/A':
        print(room['id'])

import requests
url = 'https://webexapis.com/v1/rooms'
payload = {}
headers = {'Authorization': 'Bearer <token_da_inserire_qui>'}
response = requests.request('GET', url, headers=headers, data=payload)
print(response.status_code)
rjson = response.json()
for room in rjson['items']:
    if room['title'] == 'Corso DevNet Associate 2021/A':
        print(room['id'])

import requests

url = "https://webexapis.com/v1/rooms"

payload={}

# Generare il proprio token dal sito https://developer.webex.com
headers = {
  'Authorization': 'Bearer <token_da_inserire_qui>'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.status_code)

rjson = response.json()

#print(json.dumps(rjson, indent=2))

for room in rjson['items']:
  if room['title'] == "Corso DevNet Associate 2021/A":
    print(room['id'])