title: How to get list of downloaded apps (paid/free) by a user from Google Play?
body: <p>I recently came across this app <a href="https://play.google.com/store/apps/details?id=com.azefsw.purchasedapps" rel="noreferrer">Purchase Apps</a>, which is somehow able to retrieve apps I've paid for in google play after I signed in using my google account. </p>
  
  <p>I'm trying to find out how it is being done as I want to build a similar app, but for the free apps which were downloaded. </p>
  
  <p>However, I can't find which OAuth API Scope was used for retrieving that information, even after going through <a href="https://developers.google.com/identity/protocols/googlescopes" rel="noreferrer">the entire list of APIs</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/cc8qKl.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/cc8qKl.jpg" alt="Google Sign in asking for access to androidmarket"></a></p>
  
  <hr>
  
  <p>EDIT:
  I'm putting a new bounty on this question, as suggested by a similar question I've asked about <a href="https://stackoverflow.com/q/49620194/878126"><strong>here</strong></a>, and because here and there I don't see a real answer about how to do it, and what can be done with it.</p>
  
  <p>I'd like to refine the questions into multiple pieces:</p>
  
  <ol>
  <li><p>What is the API that can be used to get information of purchased apps? Where can I read about it? Please show a full, working example of how to do it.</p></li>
  <li><p>Can it do more ? Maybe perform search? Maybe show free apps that were installed? Maybe the time they were installed and uninstalled? And the categories of those apps?</p></li>
  <li><p>Are there any special requirements for using this API ?</p></li>
  </ol>
  
  <hr>
  
  <p>EDIT: I'm putting a max bounty on this, because no matter how much I've read and tried, I still failed to make a POC that can query the apps from the Play Store that the user has ever downloaded (name, package name, date installed and/or removed, icon URL, price...), including both paid and free apps.</p>
  
  <p>If anyone finds a working sample, show how it's done, and also show how you've found about it (documentation or anything that has led you to the solution). I can't find it anywhere, and the current solutions here are too vague for me to start from.</p>