Open lee-dohm opened 7 years ago
The atom.io API doesn't have the ability to paginate, so this seems to be a problem with atom.io rather than apm. If it can paginate, then the documentation needs to be updated.
Rather than relying on pagination, it looks like it should be possible to fall back to the endpoint for that specific version, e.g. https://atom.io/api/packages/autocomplete-python/versions/1.8.11
I'm working on a PR to do that, and should be able to put something up shortly.
Prerequisites
Description
Running
apm install autocomplete-python@1.8.11
results in an error even though the version is listed in the database.Steps to Reproduce
apm install autocomplete-python@1.8.11
Expected behavior: autocomplete-python v1.8.11 to be installed
Actual behavior:
Package version: 1.8.11 not found
error returnedVersions
Additional Information
I suspect this is because the results from the API aren't paginated.