-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
fetch-paginate https://api.example.com/things
To use page mode (default behavior, with default param name page):
fetch-paginate --page https://api.example.com/things
Or with custom page param name pg:
fetch-paginate --page pg https://api.example.com/things
Otherwise, to use offset/limit mode (with default param name offset and limit):
fetch-paginate --offset https://api.example.com/things
Or with custom param names count and max:
fetch-paginate --offset count --limit max https://api.example.com/things
Also, with custom path specifying how to get items list from a page of response data:
fetch-paginate --items data.items oohttps://api.example.com/things
Reactions are currently unavailable