Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #python -m pip install python-firebase
- # https://smus-94b9f.firebaseio.com/
- from firebase import firebase
- myConn = firebase.FirebaseApplication('https://smus-94b9f.firebaseio.com/', None)
- data = {
- 'name' : "Wiktor",
- 'age' : 18
- }
- result = myConn.post('/WiktorsData/myContacts/',data)
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement