【文件属性】:
文件名称:PHP-Grab-Google-Reviews:使用PHP cURL和不使用API密钥获取Google-Reviews
文件大小:4KB
文件格式:ZIP
更新时间:2021-02-03 12:24:14
php google grabber reviews grab
:speech_balloon: 使用PHP cURL和不带API密钥的Google-Reviews
这是一种肮脏但有用的方法,无需使用API密钥即可使用cURL来获取Google的前8条最相关的评论
如何找到所需的CID号:
使用:[ ]
并搜索您的公司名称
参数
$ options = array (
'google_maps_review_cid' => '17311646584374698221' , // Customer Identification (CID)
'show_only_if_with_text' => false , // true = show only reviews that have text
'show_only_if_greater_x' => 0 , // (0-4) only show reviews with more than x stars
'show_rule_after_review' => true , // false = don't show
Tag after each rev
【文件预览】:
PHP-Grab-Google-Reviews-master
----LICENSE(1KB)
----README.md(1KB)
----get-reviews.php(9KB)