Hello Everyone ,
I have been not writting to this blog from very long time but now I am back again
Let's get started in to access firebase database using python.
PreRequire :
- Use Python-3.5
- Install Anaconda Packet manager (Not necessary)
- Follow this link and get started
Code :
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
from firebase import firebase
def hello():
print ("snit")
print ("smit")
firebase = firebase.FirebaseApplication('firebase string ', None)
#to establish connection
result1 = firebase.get('/object name', None)
print (result1)
new_user = 'Ozgur Vatansever'
result = firebase.post('/strings', data={"smit":"kadvani"}, params={'print': 'pretty'})
No comments:
Post a Comment