Reputation: 41
I am trying to get API data from an external source then input it into Firebase Database, is this possible?
Upvotes: 0
Views: 1355
Reputation: 599776
To import data from an external source into the Firebase Database, you'll have to write code that gets the data from the external source, and then calls the Firebase API to insert it into the database. There's nothing built into Firebase to do this automatically for you.
One place where you can run such code is in Cloud Functions, for example as a scheduled function that periodically updates the data in the database from the external source. Your project will need to be on a paid plan to do so, as the free plan only allows you to access Google's own APIs.
Upvotes: 2