title: Python: ConnectionError: HTTPSConnectionPool(host='api.foursquare-com', port=443)
body: <p>I'm having this issue while running the script:</p>
  
  <p>(I'm using Spyder to build my script, but I'm trying at Jupyter Notebook and I'm getting the same error)</p>
  
  <pre><code>#STEP 3.8 - Get the URL request
  
  LIMIT = 100
  
  radius = 50
  
  url = 'https://api.foursquare-com/v2/venues/explore?&amp;client_id={}&amp;client_secret={}&amp;v={}&amp;ll={},{}&amp;radius={}&amp;limit={}'.format(
  
  CLIENT_ID, CLIENT_SECRET, VERSION, neighbor_lat, neighbor_long, radius, LIMIT)
  
  #STEP 3.9 - Get request and examinate the result
  
  results = requests.get(url).json()
  
  print(results)
  </code></pre>
  
  <p><strong>ConnectionError: HTTPSConnectionPool(host='api.foursquare-com', port=443): Max retries exceeded with url: /v2/venues/explore?&amp;client_id=xxx&amp;client_secret=xxx&amp;v=20180605&amp;ll=43.806686299999996,-79.19435340000001&amp;radius=500&amp;limit=100 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))</strong></p>