如何将抓取的数据发送到Firebase

时间:2019-04-19 01:01:52

标签: python firebase send

我已经使用BS4制作了一个抓取工具,现在我想将抓取的数据发送到Firebase数据库中。

{
    "title": "Yamaha APX600FM Flame Maple Tobacco Sunburst",
    "price": "£239.00",
    "discount": "Save £160.00",
    "image": "https://images.guitarguitar.co.uk/cdn/large/150/190315340677008f.jpg?h=190&w=120&mode=crop&bg=ffffff&quality=70&anchor=bottomcenter",
    "link": "https://www.guitarguitar.co.uk/product/190315340677008--yamaha-apx600fm-flame-maple-tobacco-sunburst",
    "description": "\nProduct Overview\nOne of the world's best-selling acoustic-electric guitars, the APX600 series introduces an upgraded version with a flame maple top. APX's thinline body combines incredible comfort,... read more\n"
},

以上是我将数据制成(JSON)并保存在本地进行测试的结构。我现在正在尝试将数据保存到Firebase中,但无法理解如何完成。我的IDE是PyCharm。

0 个答案:

没有答案