新手问题 什么叫数据接口?怎样导入导出?跨平台的数据怎么互通与同步?

chairy11 · 2014年09月05日 · 最后由 mojidong 回复于 2014年09月05日 · 6343 次阅读

常常听说数据接口啊 API 之类的词语,可是其实不太理解。

比如一个商家他自己有一套 ERP 系统,那他的商品同时放上淘宝、口袋通、京东之类的平台及他自己的网站,是不是写个什么 API 代码直接就能从 EPR 中自动导数据到这些平台了? 然后从这些平台得到的订单数据销售数据,是不是也写个 API 然后就能直接导回 ERP 了?

大家有没有用过口袋通啊?他们上面的数据怎么导入导出,如果与 Rails 做的 Web 网站同步数据的话……

我是一头雾水啊……大家有没有看过这方面的好的学习资源让我看看啊?

API is application protocol interface! You can do a simple json api for you self app. You can request with data to the server then it return you depend you request data. First, not the data transfer. API document will tell you what data you need give and what return. give you a api guide with google map. https://developers.google.com/maps/documentation/embed/guide Simply, API is a parameters method with url!

@chairy11 有2种方法:

  1. 使用对应平台提拱的 api(分开放接口和私有接口)
  2. 模拟用户行为(使用 http 提交表单或抓取数据)

#1 楼 @colorfulberry 谢谢:)头像好帅的说…… #2 楼 @mojidong 谢谢:)

需要 登录 后方可回复, 如果你还没有账号请 注册新账号