Closed nbintertech closed 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
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?
looks good!
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