Hi,
I want to use the InkyFrame with the Pirate Weather API (Pirate Weather) . However, this returns a response of over 100K, which is too large to use with the json library as it loads everything into memory.
Can anybody suggest an alternative? My ideas so far are:
1.) Write a server to proxy the requests and compress them into a more sane format, maybe proto buffers or similar.
2.) Port json-stream to micropython. I hoped someone had done this but I can’t find it.
3.) Write my own hacky json parser
All of these are annoying and involve extra work. I’m hoping there’s a clever solution I’ve missed that just works.
Thanks,
Martin