Python-firebase Listener Implementation
Is there a way where you can actively have a listener for a Firebase Database in Python? For instance, I have a node user in the database, I want to be able to actively listen for
Solution 1:
You can use Firebase's REST Streaming API: https://firebase.google.com/docs/database/rest/retrieve-data#section-rest-streaming.
The blog post that introduced that API, includes some samples for Python: https://firebase.googleblog.com/2014/03/announcing-streaming-for-firebase-rest.html
There are some Python libraries that wrap that API: https://www.google.nl/webhp#q=firebsae%20python%20streaming
Post a Comment for "Python-firebase Listener Implementation"