'Parse external JSON using Firebase Functions
I just started using Firebase a couple of days ago for my mobile app, so I’m sorry if this might come off as a stupid question, I’m still learning :)
Basically, what I want to achieve is to download and parse a JSON from an API and then store the parsed content in the Real Time Firebase Database, so I can later use it in my app. I want to achieve this with Firebase Functions, cause the JSON is pretty large and don’t want to process it on device, it would slow down the app. Basically I’d like for the parsing and storing to be done by one function, which would then automatically execute one time per day, at a given time. Is this something doable? Or should I be looking into Google Cloud for this type of thing.
I’m also new to JavaScript, so an example function would be really useful, to get a sense of how things look and feel.
Thank you so much!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
