<div dir="ltr">Awesome, thanks! <br><div><br></div><div>We've improved our compliance checks from those API, waaaaay better than before</div><div><br></div><div>BR</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 nov. 2019 à 21:21, Pascal Chevrel <<a href="mailto:pchevrel@mozilla.com">pchevrel@mozilla.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>Le 18/11/2019 à 20:52, Alexandre
      GAUVRIT a écrit :<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>We recently found out that Google provides a website for
          their latest release of Chrome, for every
          channel/plateform/architecture : <a href="https://omahaproxy.appspot.com/" target="_blank">https://omahaproxy.appspot.com/</a></div>
        <div><br>
        </div>
        <div>They provide a CSV + JSON with parameters (<a href="https://omahaproxy.appspot.com/all?os=win64" target="_blank">https://omahaproxy.appspot.com/all?os=win64</a> / <a href="https://omahaproxy.appspot.com/all.json?os=win64&channel=stable" target="_blank">https://omahaproxy.appspot.com/all.json?os=win64&channel=stable</a>),
          easy to download + parse to track latest release and
          compliance</div>
        <div><br>
        </div>
        <div>Would this be possible in the future for Mozilla products ?</div>
        <div><br>
        </div>
        <div>This would be better than actual dirty directory listing
          scraping.</div>
        <div><br>
        </div>
        <div>Cheers</div>
        <div><br>
        </div>
        <div>Alexandre</div>
      </div>
      <br>
    </blockquote>
    <p>Hello Alexandre,</p>
    <p>We provide JSON files with release data (and have been for over a
      decade) via the product-details public JSON API, here is the
      documentation:</p>
    <p><a href="https://wiki.mozilla.org/Release_Management/Product_details" target="_blank">https://wiki.mozilla.org/Release_Management/Product_details</a><br>
    </p>
    <p>IMO, the most useful file to keep up to date with current release
      versions is
      <a href="https://product-details.mozilla.org/1.0/firefox_versions.json" target="_blank">https://product-details.mozilla.org/1.0/firefox_versions.json</a></p>
    <p>ex in PHP to get the version number for the last ESR:</p>
    <p>print
json_decode(file_get_contents('<a href="https://product-details.mozilla.org/1.0/firefox_versions.json" target="_blank">https://product-details.mozilla.org/1.0/firefox_versions.json</a>'),
      true)['FIREFOX_ESR'];<br>
    </p>
    <p>We do not provide a CSV version though.</p>
    <p>If you want a UI to search for our build data we also have this
      site:</p>
    <p><a href="https://buildhub.moz.tools/" target="_blank">https://buildhub.moz.tools/</a></p>
    <p>ex:
<a href="https://buildhub.moz.tools/?platform" target="_blank">https://buildhub.moz.tools/?platform</a>[0]=win64&channel[0]=esr&products[0]=firefox<br>
    </p>
    <p>Regards</p>
    <p>Pascal Chevrel<br>
    </p>
    --
    <pre cols="72">Pascal Chevrel
Firefox Release Manager 
+ Firefox Nightly community management</pre>
  </div>

</blockquote></div>