Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consume RubyGems updates from api/v1/timeframe_versions.json endpoint instead of api/v1/activity. #173

Open
calebbrown opened this issue Mar 23, 2022 · 0 comments

Comments

@calebbrown
Copy link
Contributor

calebbrown commented Mar 23, 2022

RubyGems has a stable API for consuming versions changes that can be paginated across all the results in a 7 day timeframe.

This should be more reliable than RSS for retrieving new package versions.

See: https://guides.rubygems.org/rubygems-org-api/#get---apiv1timeframe_versionsjson

$ curl 'https://rubygems.org/api/v1/timeframe_versions.json?from=2019-01-18T21:24:29Z&to=2019-01-18T21:24:31Z

/api/v1/activity/latest is limited to the last 50 results.

@calebbrown calebbrown changed the title Consume RubyGems updates from api/v1/timeframe_versions.json endpoint instead of RSS Consume RubyGems updates from api/v1/timeframe_versions.json endpoint instead of api/v1/activity. Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant