SuperFetch – a proxy enhancement to Apps Script UrlFetch

485 views
Skip to first unread message

Bruce Mcpherson

unread,
May 27, 2022, 11:51:02 AM5/27/22
to Google Apps Script Community
I’ve written a few articles about JavaScript proxying on here, and I’m a big fan. I also use a lot of APIS, and it can be time consuming to keep on checking the REST documentation for how to call them and deal with the UrlFetch responses. SuperFetch is a proxy for UrlFetchApp to help.

What is SuperFetch

SuperFetch is a proxy for UrlFetchApp which has these extra capabilities – most of which I use for all APIS

- Built in caching and compression – it uses Apps script caching with compression and enhanced size limitations
- A standard reponse format and error handling
- Inbuilt JSON parsing
- Automatic token insertion
- One liner capability to make Unit Testing less of a chore
- Plug-in enhancements such as automatic throttling and rate limit management

https://ramblings.mcpher.com/apps-script/superfetch-proxy/
Reply all
Reply to author
Forward
0 new messages