We do want to have the download statistics for each month. GitHub provides a means to access the current download count, but no historical information.
The idea is thus to capture the download statistics at the end of every month by means of the GitHub REST API and format this data is a format that can be used to further work with the data.
A sample request on inspectIT is: https://api.github.com/repos/inspectit/inspectit/releases
The idea is to integrate a small jenkins job that runs every month and gets the data. A possible format could be similar to the old FTP download statistics which could be then easily integrated into the current excel based reporting.
The current format looks as follows:
this would be perfect already. Just to be certain: this is always the overall number of downloads right?
> If the rate limit is a problem, it is possible to add the clientID and ClientSecretID as arguments.
I do not get this point
you also provided a jar file in the attachment. Is this the final version of the script? How can one execute this script.
I would propose to add this small snippet as a small project to our inspectIT Labs organisation (https://github.com/inspectit-labs) and describe what it does.
Jenkins Job is configured ... Each month, a email containing the statistics as plain text and as attachment will be sent
Can I close this ticket. We anyway have the statistics now in grafana which is implemented by .