title: alexa web information services python
body: <p>I want to make a query using Alexa Amazon Web Information Services. I downloaded <a href="https://github.com/muhuk/python-awis" rel="nofollow">AWIS</a> and used the code below:</p>
  
  <pre><code>import awis
  api = awis.AwisApi("ACCESS_ID", "SECRET_ACCESS_KEY")
  tree = api.url_info("www.yahoo.com", "Rank", "LinksInCount")
  elem = tree.find("//{%s}StatusCode" % api.NS_PREFIXES["alexa"])
  assert elem.text == "Success"
  </code></pre>
  
  <p>but I kept on getting the following error:</p>
  
  <pre><code>IOError: All 3 requests failed, latest response code is 403][1]
  </code></pre>
  
  <p>What should I do?</p>