我发布这个问题是因为我还没有找到与我的问题相关的任何适当的解决方案。
我正在尝试从Firebase检索我的用户数据,但我无法这样做。请给我解释一下我做错了什么。
对于这个项目,我使用Flask API。我还在数据库的规则中包含了所有必需的索引。我的错误消息在第106行出现。
发布于 2021-02-03 06:19:05
这是获取数据所需的默认代码:
from firebase import firebase
firebase = firebase.FirebaseApplication('Your url of the Real Time Database')
obj = firebase.get('/', None) #NOTE: '/' should be followed by the path in case you have child attributes
print(obj) #You will get a dictionary in return
https://stackoverflow.com/questions/66021916
复制相似问题