“https://api.airtable.com/v0/appk6Z1pKED33CpCK/Table%201?maxRecords=3&view=Grid%20view” guys here in this link, there is something caled maxRecords=3, how do i write it such a way that , it will give me records as long as there are records. i want it to change dynamically. imagine i told max record to 5 today. but tomorow 6 rows are created. so dynamically i want all the rows to be fetched
It looks like you are using the Standard REST API. How are you creating your url string? You can use a variable when you build the url string and change the value of the variable in the code.
However, why do you need to change the maxRecords from day to day? If you want all records, omit the maxRecords query parameter. If there are fewer than 100 records, all of the records will be returned without you specifying a specific number of records. If you want more than 100 records, you will need to get into multiple calls and pagination, which is a bit more complex.