title: Get all data from API in single hit - Python-Requests
body: <pre><code>import requests
  url = 'http://www.justdial.com/autosuggest.php?'
  param = {
          'cases':'popular',
          'strtlmt':'24',
          'city':'Mumbai',
          'table':'b2c',
          'where':'',
          'scity':'Mumbai',
          'casename':'tmp,tmp1,24-24',
          'id':'2'
  }
  res = requests.get(url,params=param)
  res = res.json()
  </code></pre>
  
  <p>though in first time hit the base url in browser then last 3 params not shown in requests query parameter but its working.</p>
  
  <p>When I hit this API it return a json which contain 2 keys(total &amp; results).
  result key contain a list of dictionary(this is main data). and another key which is 'total'   contain total number of different categories available in Justdial.</p>
  
  <p>in present case it is total=49 and so have to hit api 3 times because at one time api return only 24 results so (24+24+1  so we need to hit 3 times ).</p>
  
  <p>my question is is there any way to get complete json at one time I mean there are 49 results so instead of hittiing api 3 times can we get all data(all 49 categories) in single hit. I've already tried so many combinations in params but not success.</p>