title: How i use amazon s3 in python to use REST examples
body: <p>I am reading this link
  <a href="http://docs.aws.amazon.com/AmazonS3/2006-03-01/API/RESTBucketGET.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/AmazonS3/2006-03-01/API/RESTBucketGET.html</a></p>
  <p>The example i want to use is this</p>
  <p><code>The following GET request specifies the delimiter parameter with value &quot;/&quot;, and the prefix parameter with value photos/2006/.</code></p>
  <p>The response is</p>
  <pre><code>GET /?prefix=photos/2006/&amp;delimiter=/ HTTP/1.1
  Host: example-bucket.s3.amazonaws.com
  Date: Wed, 01 Mar  2009 12:00:00 GMT
  Authorization: AWS AKIAIOSFODNN7EXAMPLE:xQE0diMbLRepdf3YB+FIEXAMPLE=
  </code></pre>
  <p>The returned resposne is</p>
  <pre><code>&lt;ListBucketResult xmlns=&quot;http://s3.amazonaws.com/doc/2006-03-01/&quot;&gt;
    &lt;Name&gt;example-bucket&lt;/Name&gt;
    &lt;Prefix&gt;photos/2006/&lt;/Prefix&gt;
    &lt;Marker&gt;&lt;/Marker&gt;
    &lt;MaxKeys&gt;1000&lt;/MaxKeys&gt;
    &lt;Delimiter&gt;/&lt;/Delimiter&gt;
    &lt;IsTruncated&gt;false&lt;/IsTruncated&gt;
  
    &lt;CommonPrefixes&gt;
      &lt;Prefix&gt;photos/2006/feb/&lt;/Prefix&gt;
    &lt;/CommonPrefixes&gt;
    &lt;CommonPrefixes&gt;
      &lt;Prefix&gt;photos/2006/jan/&lt;/Prefix&gt;
    &lt;/CommonPrefixes&gt;
  &lt;/ListBucketResult&gt;
  </code></pre>
  <p>I get that but i am not sure how can i implement that in django/python using boto.</p>
  <p>Also Is there any way to get JOSN instead of xml.</p>