# 访客相关信息获取API接口

摘要

获取操作系统,浏览器,浏览器版本,访客IP地址,访问时间

接口地址:

https://api.vvhan.com/api/visitor.info

请求方式:

GET

返回格式:

JSON

请求示例:

https://api.vvhan.com/api/visitor.info

请求参数:
名称必填说明

返回状态:
名称必填说明

success成功:true,失败:false

message返回状态描述信息

返回示例:

{"success":true,"time":"2024-03-14 21:12:07","week":"星期四","ip":"180.149.130.16","location":"北京市","browser":"Chrome","browser_ver":"121.0.0.0","system":"Windows 10","low":"-2°C","high":"0°C","tq":"雨夹雪","fl":"东北风1-3级","tip":"天有点冷,注意保暖~"}