text: # [START maps_http_directions_region_toledo_es]
  import requests
  
  url = "https://maps.googleapis.com/maps/api/directions/json?origin=Toledo&destination=Madrid&region=es&key=YOUR_API_KEY"
  
  payload={}
  headers = {}
  
  response = requests.request("GET", url, headers=headers, data=payload)
  
  print(response.text)
  
  # [END maps_http_directions_region_toledo_es]