Skip to content

Instantly share code, notes, and snippets.

@srobertson
Created August 12, 2013 21:59
Show Gist options
  • Save srobertson/6215696 to your computer and use it in GitHub Desktop.
Save srobertson/6215696 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import os
import boto.connection
conn = boto.connection.AWSQueryConnection(
aws_access_key_id='...',
aws_secret_access_key='...',
host='ats.amazonaws.com',
is_secure=False,
debug=True
)
response = conn.make_request('TopSites',params=dict(ResponseGroup='Country'))
print response.read()
@lameei
Copy link

lameei commented Dec 1, 2017

Have you tried to rewrite this using python3 and boto3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment