Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If one goes to the zotero api page and looks at the recommended means of syncing with the repository they suggest using format=versions to get the current versions of all objects. Unlike other requests a versions request (merely returning a dict mapping key -> version number) this request has no limit and the normal usage is to get all versions in one request. Indeed, it is important to be able to retrieve all version information in a single request so you know that your version information matches up with the last modified header.
Currently the add_parameters function always inserts a limit parameter. This can be hacked around by passing limit=-1 but this is undesirable and depends on unspecified behavior from the api. This change deletes the limit parameter if limit=None or limit=-1 is passed.
I also threw in a .gitignore ignoring the caches created by the test and a few deleted spaces at the end of lines.