导出Firebase [英] Export firebase

查看:120
本文介绍了导出Firebase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能在频繁的周期中导出firebase数据(也许是一个JSON对象)。我问这个主要原因是因为我想在特定的时间点捕获数据,以便对它们执行一系列的分析/识别特定的模式。我对Firebase API中的任何操作/方法感兴趣 - 可能是某种Web钩子或其他解决方法,以使我能够做到这一点!



任何建议将不胜感激,因为我无法找到任何网络/文档(也许我已经读过它?)。

感谢,
Alex

解决方案

全功能的REST API,所以最简单的事情就是定期轮询REST API。 REST API文档位于: https://www.firebase.com/docs/rest-api-quickstart。 html



您还可以使用Node.js客户端完全访问您的Firebase数据。这允许您将回调附加到您的数据,并在发生在您自己的服务器上时立即采取行动: https:// www.firebase.com/docs/nodejs-quickstart.html


I was wondering if it is possible to export firebase data (perhaps as a JSON object) in frequent "cycles". The main reason I'm asking this is because I would like to capture the data at specific points of time in order to perform a range of analytics upon them / identify specific patterns. I'm interested in any operations / methods that are part of the Firebase API - maybe some kind of web hook, or other workarounds that would enable me to do this!

Any suggestions would be greatly appreciated as I could not find anything on the web / docs (maybe I've over read it?).

Thanks, Alex

解决方案

Firebase has a full-featured REST API, so the simplest thing to do is just poll the REST API on a regular basis. REST API docs are here: https://www.firebase.com/docs/rest-api-quickstart.html

You can also get full access to your Firebase data using the Node.js client. This allows you to attach callbacks to your data and act on changes immediately when they occur from your own server: https://www.firebase.com/docs/nodejs-quickstart.html

这篇关于导出Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆