Somsubhra / github-release-stats

Get the latest release stats of your project on Github
https://somsubhra.github.io/github-release-stats/
MIT License
536 stars 84 forks source link

The API call you are using is not correct #47

Closed aelassas closed 3 years ago

aelassas commented 5 years ago

According to GitHub documentation, the API call you are using will only returns the first 30 items by default. You are not supporting pagination.

You need to modify your API call by this one for example:

https://api.github.com/repos/username/reponame/releases?page=1&per_page=1000000
ahmetb commented 3 years ago

@Somsubhra hope you can implement pagination or querying more releases. It's returning missing results as indicated. Hope you can let us know if you want to accept a patch. It's a great tool, it would be a shame if we had to rewrite it. :)

Somsubhra commented 3 years ago

Patches are welcome :)

ademkoc commented 3 years ago

I opened a pull request #49.

Somsubhra commented 3 years ago

This is fixed in the patch by @admkc - closing this. Thanks for the patch!