gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
786 stars 139 forks source link

Use POST method in to retrieve records in iterate #210

Closed thomasopsomer closed 1 year ago

thomasopsomer commented 1 year ago

This is a small patch to address issue like #203, to avoid getting "Request-URI Too Large" error from Airtable API.

I had to add a fct to_json_dict similar to to_params_dict that format options into something accepted by the post method /listRecords

Let me know if you want to use this patch and if you need some change :)

gtalarico commented 1 year ago

Thanks for starting this @thomasopsomer , this was very helpful. I am moving this over to https://github.com/gtalarico/pyairtable/pull/222/