title: How can I properly generate URL parameters from nested JSON parameters in Python requests
body: <p>I'm trying to use requests to pass a number of conditions to the Connectwise REST api. I'm trying to generate a URL like below</p>
  
  <pre><code>/company/configurations/?pageSize=1000&amp;conditions=id=83500 and type/name="Printer" and name="TEST API PRINTER"
  </code></pre>
  
  <p>but I only seem to be able to generate this:</p>
  
  <pre><code>/company/configurations/?pageSize=1000&amp;conditions=id&amp;conditions=type/name&amp;conditions=name
  </code></pre>
  
  <p>My payload looks like this:</p>
  
  <pre><code>parameters = {}
      parameters['conditions'] = {}
      parameters['pageSize'] = 1000
      if db_rid:
          parameters['conditions']['id'] = 83500
      if type_name:
          parameters['conditions']['type/name'] = "Printer"
      if name:
          parameters['conditions']['name'] = "TEST API PRINTER"
  requests.get(APIurl, params=parameters)
  </code></pre>
  
  <p>Where am I going wrong?</p>