简体   繁体   English

如何使用Node.js ExpressJS或Superagent调用Freebase API

[英]How to call freebase api using nodejs ExpressJS or Superagent

I have this Freebase query and need to use it in NodeJS + ExpressJS or NodeJS + Superagent . 我有这个 Freebase查询,需要在NodeJS + ExpressJS或NodeJS + Superagent中使用它。 I tried Google API module and the Freebase module (that doesn't npm install!), but i'm very confuse about how to use. 我尝试了Google API模块和Freebase模块 (没有npm安装!),但是我对如何使用感到非常困惑。 I dig into google and documentation without success. 我研究Google和文档没有成功。 I already have my Google Freebase API Key and read in some web posts that always need to use it and in others that it's not necessary. 我已经有了我的Google Freebase API密钥,并阅读了一些始终需要使用它的Web帖子,以及其他一些不需要的Web帖子。 I'm very confuse about it. 我对此很困惑。

Thanks! 谢谢!

For future generations who google here like I did, the npm module is now working and appears to be awesome. 对于像我一样在这里使用Google的后代来说,npm模块现在可以正常工作了,并且看起来很棒。

https://www.npmjs.org/package/freebase https://www.npmjs.org/package/freebase

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM