title: Fetching data from a view written in CouchDB-Futon using Python
body: <p>I have a database with around 2 million documents. This database contains a lot of duplicate documents. I wrote a map reduce function in <code>CouchDB-Futon</code>, which removes the duplicates. Now I want to get the values of this view in my python script. </p>
  
  <pre><code>import cloudant
  
  account = cloudant.Account('Cricket-Harvestor')
  db = account.database('Cricket-Analysis')
  # view = Over here I want to reference the view I created in CouchDB futon.
  for doc in view:
    # and so does this!
    print doc
  </code></pre>
  
  <p>Could someone please guide me over here? I have also referred below url:</p>
  
  <pre><code>https://pythonhosted.org/CouchDB/mapping.html
  </code></pre>
  
  <p>This uses <code>couchdb-python</code> library. I am creating and storing documents using the same library. But it seems to not serve purpose in getting data out of multiple documents from a view, which was created on <code>CouchDB-Futon</code>. </p>