title: How to get reports from shopify
body: <p>I am trying to get the reports from Shopify (Analytics -> Reports) using Python, like this:</p>
  
  <pre><code>import requests
  
  APIkey = "myAPYkey"
  APIversion = "2019-04"
  Pass = "myPass"
  hostname = "myHost"
  
  response = requests.get("https://{}:{}
  {}/admin/api/{}/reports.json".format(APIkey,Pass,hostname,APIversion))
  
  print(response.text)
  </code></pre>
  
  <p>However I get</p>
  
  <pre><code>{"reports":[]}
  </code></pre>
  
  <p>On the other hand, I do not know where I can find the ID of the reports.</p>
  
  <p>Why is that? If I enter to the section Analytics -> Reports I can see several reports.</p>