ORNL-AMO / AMO-Tools-Desktop

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam. Currently in beta.
Other
39 stars 21 forks source link

Total Downloads CSV/XLSX #5648

Closed nbintertech closed 2 years ago

nbintertech commented 2 years ago

We need to be able to run a standalone script (probably python/nodeJs) that can call the github API for download data of MEASUR/VERIFI and then compile a spreadsheet showing total downloads

doing "total downloads" include everytime a .yml file gets pulled which is everytime the app checks for an update or everytime the app is opened

JL102 commented 2 years ago

notes: https://docs.github.com/en/rest/releases/releases create a user auth token, put it in environment variable git_token curl -i -H "Authorization: $git_token" https://api.github.com/repos/ORNL-AMO/AMO-Tools-Desktop/releases

JL102 commented 2 years ago

downloads.csv Current output titles: Name, Date, Windows, Mac .DMG, Mac .ZIP, Linux AppImage, Linux Tar.GZ, latest.yml, latest-mac.yml, latest-linux.yml Any requests/changes before it's finalized?

koay9f commented 2 years ago

looks good!