title: How to download CS:GO demo from match sharing code
body: <p>Since <a href="https://blog.counter-strike.net/index.php/2019/09/25513/" rel="nofollow noreferrer">9/17/2019</a>, Valve provided an API that allows players to give access to third-party websites to download their matchs history.</p>
  
  <p>From <a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Access_Match_History" rel="nofollow noreferrer">this documentation</a>, I have been able to get all my sharing code <code>CSGO-xxxxx-xxxxx...</code>, ready to download the matchs ! But, I didn't find any information about how to download them.
  In <a href="https://help.steampowered.com/en/wizard/HelpWithGameIssue/?appid=730&amp;issueid=128" rel="nofollow noreferrer">this page</a> and the last one, we can read <code>Third-party websites and applications can use this authentication code to access your match history, your overall performance in those matches, download replays of your matches, and analyze your gameplay.</code> and <code>This page outlines the basics of creating a website or application to access players match history and help with players statistics tracking and gameplay analysis.</code>. So, I'm pretty sure their might be a way.</p>
  
  <p>Most of all, a famous website, <a href="https://csgostats.gg" rel="nofollow noreferrer">https://csgostats.gg</a> is <a href="https://steamcommunity.com/app/730/discussions/0/1629665087665778963/" rel="nofollow noreferrer">able to download demos from this sharing code</a>, so...</p>
  
  <p>I know that this code <code>CSGO-xxxxx-xxxxx...</code> code be use like this <code>steam://rungame/730/:steamID:/+csgo_download_match%20CSGO-xxxxx-xxxxx</code> to watch the demo. But my goal is really to download it, to be able to parse it. So, I'm not looking for <a href="https://gaming.stackexchange.com/questions/255755/how-to-use-the-csgo-sharing-code">this way</a>.</p>
  
  <p>So, I'm looking for a way to download a CSGO demo using Valve's access token : <a href="https://i.stack.imgur.com/LP2DO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LP2DO.png" alt="enter image description here"></a></p>
  
  <p>You can download CSGO demo with this link : <code>http://replay131.valve.net/730/xxxxxxxxxxxxxxxxxxxxx_xxxxxxxxx.dem.bz2</code>, but I havn't find a way to convert the sharing code to the demo's name.</p>
  
  <p>I'm not sure if this question should be here or in software engineering ? ...</p>