Python firebase admin sdk - Realtime update listener

530 views
Skip to first unread message

Goutom Roy

unread,
Nov 26, 2017, 6:28:19 PM11/26/17
to Firebase Google Group
Hi
Do you have any plan to add realtime update listener in python firebase admin sdk? I have django api service.I want to change my current authentication and authorization system to firebase authentication.Realtime data update listener is not available for python .So I have to call firebase server  every time to authorize my user.It will make my api slower.What to do now for django in this situation?


Thanks in advance.

Goutom Roy

Samuel Stern

unread,
Nov 27, 2017, 9:22:55 AM11/27/17
to fireba...@googlegroups.com
Hi Goutom,

We would like to add realtime listening to the Python SDK (and everywhere else that it's currently absent) but we can't offer any timelines for this work.  There's nothing wrong with making Firestore calls repeatedly from your Django app, I would not expect this to be slow.  If you run into specific performance issues we can definitely discuss the data here.

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b8e7b50e-6826-428a-9200-9d7453d19afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hiranya Jayathilaka

unread,
Nov 27, 2017, 1:41:29 PM11/27/17
to fireba...@googlegroups.com
Goutom,

A couple of follow up questions for you:

1. Are you looking for realtime event listeners in firebase_admin.db or firebase_admin.firestore?
2. I see that your HTTP requests are originating from a mobile app. How do you currently authorize such requests in the Django app? Can you use Firebase ID token verification, and avoid having to call FirebaseAuth in the backend?



On Mon, Nov 27, 2017 at 6:22 AM, 'Samuel Stern' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Hi Goutom,

We would like to add realtime listening to the Python SDK (and everywhere else that it's currently absent) but we can't offer any timelines for this work.  There's nothing wrong with making Firestore calls repeatedly from your Django app, I would not expect this to be slow.  If you run into specific performance issues we can definitely discuss the data here.

- Sam
On Sun, Nov 26, 2017 at 6:28 PM Goutom Roy <goutom....@gmail.com> wrote:
Hi
Do you have any plan to add realtime update listener in python firebase admin sdk? I have django api service.I want to change my current authentication and authorization system to firebase authentication.Realtime data update listener is not available for python .So I have to call firebase server  every time to authorize my user.It will make my api slower.What to do now for django in this situation?


Thanks in advance.

Goutom Roy

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b8e7b50e-6826-428a-9200-9d7453d19afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Hiranya Jayathilaka | Software Engineer | h...@google.com | 650-203-0128

Reply all
Reply to author
Forward
0 new messages