通过API指南,我试图获取这些参数。但是,我必须编写哪些PHP代码才能实际将结果作为变量$ result?
CURL已安装在服务器级别。抱歉,我迷路了。谢谢!
curl -H "Content-Type:application/json" -X POST -d '{"start_date":"2016-08-02","end_date":"2016-08-03", "columns":["paid_impressions","revenue"]}' 'http://udmserve.com/udm/radalytics_api.cpx?action=report&api_key=xxxx'
答案 0 :(得分:1)
此代码有效。您需要对其进行修改以存储您的api密钥
w r r C q u K A