我正在阅读有关python-firebase的文档。
http://ozgur.github.io/python-firebase/
但我没看到任何关于firebase-storage的东西。
你们知道这个库可以与存储一起工作,还是只与数据库一起工作。
或者你知道Firebase-Storage的更好的包装器。
发布于 2017-03-10 05:57:36
使用google-cloud
python客户端:
from google.cloud import storage
client = storage.Client()
bucket = client.get_bucket('<your-bucket-name>')
blob = bucket.blob('my-test-file.txt')
blob.upload_from_string('this is test content!')
发布于 2019-08-02 01:28:29
你可以通过thisbeijim为pyrebase
的Firebase API使用一个简单的python包装器。您可以查看firebase存储;顺便说一句,当您使用pyrebase
包装器时,您可以使用firebase服务,如:可信、数据库和存储。
发布于 2017-04-20 03:40:01
如果您需要的是在数据库中获取imageURL和安全,那么您必须做的是创建一个firebase函数(用于firebaseDatabase的触发器)。当你上传一张图片时,它会将url发送到数据库。
欲了解更多信息,请访问:Firebase Function
https://stackoverflow.com/questions/42678347
复制相似问题