title: How to list content from a public Amazon s3 bucket
body: <p>I have configured my bucket to be public, which means everyone can view the bucket as:
  <a href="http://bucket.s3-website-us-east-1.amazonaws.com/" rel="nofollow">http://bucket.s3-website-us-east-1.amazonaws.com/</a></p>
  
  <p>Now I need to be able to get the list of objects and download it if required. </p>
  
  <p>I found answers on this very helpful in getting me setup on python:
  <a href="https://stackoverflow.com/questions/3337912/quick-way-to-list-all-files-in-amazon-s3-bucket">Quick way to list all files in Amazon S3 bucket?</a></p>
  
  <p>This work fine if I input the access-key and secret-access-key. </p>
  
  <p>The problem though is we might have people accessing the bucket who we don't want to have any keys at all. So if the keys are not provided it gives me 400 Bad Response error. </p>
  
  <p>At first I thought this might be impossible. But extensive search led me to this R-package:
  <a href="https://github.com/cloudyr/aws.s3" rel="nofollow">Cloudyr R package</a></p>
  
  <p>Using this I am able to full the objects without need of the keys:</p>
  
  <pre><code>get_bucket(bucket = 'bucket')
  </code></pre>
  
  <p>in R but the functionalities are limited in listing/downloading the files. Any ideas how I go about doing this in boto?</p>