wizeline / project-lab

Proposal Hunt / Project Lab experimental repo
MIT License
5 stars 0 forks source link

Task to call GitHub API to request number of releases #319

Open jackbravo opened 2 years ago

jackbravo commented 2 years ago

We probably want to do this after #316

Add a task (similar to our sync task) to call the GitHub API to get the number of releases for each project repository and store it in our database.

We probably want to store:

This will allow us to get statistics about releases on our projects and display them on our website.

LuisTejedaS commented 2 years ago

you can get the releases with a GET call like https://api.github.com/repos/wizeline/project-lab/releases

where https://api.github.com/repos/OWNER/REPO/releases

We have to be mind full that Unauthenticated clients can make 60 requests per hour.