使用API接口随机获取UA:
Request Url:
https://api.vmlogin.com/v1/browsers/ua?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&platform=windows&browser=chrome
Request Type: GET
名称 | 类型 | 描述 | 必传 |
token | string | 身份验证令牌 | true |
platform | string | 平台 windows… | true |
browser | string | 浏览器 chrome… | true |
Request
{
"token": "66e9f73f3617c6afdc6768f7a61a58ae",
"platform": "windows",
"browser": "chrome"
}
Response
{
"status": "OK",
"value": 200,
"data": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11-27.20.100.8190)",
"ua": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.200 Safari/537.36",
"screen": "2560x1440"
}
}
注:
token请参考“查看/修改API Token”教程。
