A simple json api with pagination

Created on 14 November 2021, over 3 years ago
Updated 3 April 2025, 16 days ago

Great module got it setup to consume a simple json api in minutes. The API I am using has pagination so I only get the first 100 results of 2500. I've check drupal.org and done some research. I cant see how to do this, maybe I need to build a custom fetcher? I have seen feeds crawler mention but its D7.

The json return includes this:

{
  "pagination": {
    "limit": 100,
    "offset": 0,
    "count": 100,
    "total": 2548
  },
  "data": {

I then need to set the values in the get request each time. Any advice on how to do this, seems like a pretty simple use case?
Thanks

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom zarexogre

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024