已掉线,重新登录

首页 > 绿虎论坛 > 历史版块 > 编程 > PHP

标题: [API]简单的查询 Google 收录情况

作者: @Ta

时间: 2020-01-11

点击: 1620

代码简单,网上能找到,不发了

API:https://api.nowtime.cc/v1/includes/google?url={URL地址}
示例:https://api.nowtime.cc/v1/includes/google?url=https://nowtime.cc

返回结果:
{
"code": 0,
"status": 1
}

code 字段:0 表示服务正常,非 0 会有 msg 字段解释
status 字段:1 表示收录,0 表示未收录

列出你查询过域名已收录的:https://api.nowtime.cc/v1/includes/google_list?domain={域名}
示例:https://api.nowtime.cc/v1/includes/google_list?domain=nowtime.cc

返回结果:
{
"code": 0,
"data": [
"https://nowtime.cc/android/824.html",
"https://nowtime.cc/router/770.html",
]
}

红米 Note4X 标配版(黑色)


[隐藏样式|查看源码]


『回复列表(0|隐藏机器人聊天)』

帖子没有回复
回复需要登录

9月7日 03:30 星期天

本站由hu60wap6驱动

备案号: 京ICP备18041936号-1