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/