paginate-json

Command-line tool for fetching JSON from paginated APIs

APACHE-2.0 License

Downloads
103
Stars
63
Committers
1

Bot releases are visible (Hide)

paginate-json - 1.0 Latest Release

Published by simonw about 1 year ago

  • New --key rows option for specifying the key in a root-level object that should be iterated over. #7
  • The --jq option now works with either jq or pyjq installed as an optional dependency. #10
  • No longer produces debug logging to stderr by default - you can now enable that with the new -v/--verbose option. #8
  • If a response returns an object instead of a list, paginate-json now treats that as if it were a list of a single object. #9
  • Now fails with an error if it gets an HTTP response with a non-200 status code, unless you pass the --ignore-http-errors option. #13
paginate-json - 0.3.1

Published by simonw about 1 year ago

  • Now handles relative URLs in link HTTP headers. Thanks, Geoff Baskwill. #5
  • README now links to example tutorials.
paginate-json - 0.3

Published by simonw over 4 years ago

  • --sleep option for sleeping in between requests #3
  • --silent option for disabling debug output sent to stderr #1
  • --show-headers option for outputting response headers to stderr #2
  • --header HEADER VALUE multi-option for adding additional headers to the request #4