Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

89
Views
Iterating API parameter in google app script

I'm trying to use this API to fetch data directly in my google spreadsheet, I'm using Google AppScript.

Below is my API

=ImportJSON("https://rest.yyy.com/v2/matches?date=2022-06-01(Date start - yyyy-mm-dd)_2022-07-02(Date end - yyyy-mm-dd)&per_page=2000&token=xxx-xxx-xxxx-xx&status=1,2,3,4 &paged=1")

There is a "Paged" value in the API parameter this parameter limits the output range.

How can I iterate the "paged" parameter so that I don't have to change it manually? So that I could get all the data at once?

I'm doing this using Google App Script.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!