A basic python wrapper for the Firebase REST API
Firebase (v.3) has the following available SDKs:
- Android
- iOS
- Web (javascript)
- C++ (beta)
- Server Side
- Java
- Node.js
There is no SDK to use with the Google App Engine/Python stack. - This means using the Firebase REST API.
While Python already has some 3rd party wrappers for the Firebase REST API, they ( 1, 2 ) all seem to use the python requests
library. and while installing extra python libraries is possible on App Engine the requests
library doesn't (and will not) support running on App Engine as GAE doesn't use the same standard library as core Python does. (See links below).
Requests Python Library Issues On App Engine - Stack Overflow
GitHub Issue for the requests library. - Stating GAE support will NOT be added
App Engine uses the urlfetch library for outbound requests (Read more about their outbound requests here), so that is this project will aim to use
Generating Firebase JWT with python
https://firebase.google.com/docs/auth/server/#overview
https://firebase.google.com/docs/reference/rest/database/user-auth
https://firebase.google.com/docs/reference/rest/database/#section-query-parameters