简体   繁体   中英

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

我已经使用Import.io的桌面应用抓取了一些网页,然后将其另存为API,现在我想在我的网页中使用它从所述API中获取数据,我对PHP更加满意,所以我想知道从API获取数据并将其存储在PHP变量中的方法。

import.io doesn't have a custom a PHP client at the moment, so I would recommend having a look at the API docs: 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/

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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