Hub
Pricing About
WorkflowWorkflow

Pagination on the example of Google Books API

PaginationAPIGET requestREST
lada profile image
Draft Latest edits on 
Aug 13, 2024 3:57 PM
Drag & drop
Like
Download workflow
Workflow preview
This workflow demonstrates how to send a GET request with pagination on the example of Google Books API. In the case of Google Books API, the key parameter is "startIndex". The maximum number of returned results is 40, the default one is 10. First, the workflow gets the total number of items for the requested search term. Next, the workflow starts to get the titles and the authors for the books corresponding to the provided search terms from the "startIndex" = 0. At each iteration, the "startIndex" is increased by the number of results returned in this iteration. Next iteration starts from the increased "startIndex". This process is repeated till "startIndex" is greater than or equal to the maximum number of items. The duplicates are removed in the end.

External resources

  • Google Books API pagination
  • Google Books API
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.6.1
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.1

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime
  • Go to item
    KNIME JSON-ProcessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.1

    knime
  • Go to item
    KNIME Math Expression (JEP)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime
  • Go to item
    KNIME REST Client ExtensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits