如何使用 php 函数调用 import.io api?

How to call the import.io api using a php function?

我使用 Import.io 的桌面应用程序抓取了一些网页,然后保存为 APIs ,现在我想在我的网页中使用它来从上述 API,我更喜欢 PHP,所以我想知道从 API 获取数据并将其存储在 PHP 的变量中的方法。

import.io 目前没有自定义 PHP 客户端,因此我建议您查看 API 文档:http://api.docs.import.io/#QueryMethods From what you are saying, you are interested in the Query Methods. You can use some kind of PHP REST Library to support calling the API, like: http://phphttpclient.com/

希望对您有所帮助。