维梦API - 提供免费接口调用平台
该API已经过安全认证,请放心使用
娱乐 · 河南话速成
让我看看河南话怎么说

接口地址: https://api.52vmy.cn/api/wl/s/hua

返回格式: JSON

请求方式: GET

请求示例: https://api.52vmy.cn/api/wl/s/hua?msg=北京|上海|河南|杭州|东北

接口定制: 点此加入用户群

默认QPS: 每2秒最多4次 携带Token可无视限制

请求参数说明:

名称 必填 类型 说明
msg string 关键词
type string 返回格式默认JSON可选text

返回参数说明:

名称 类型 说明

返回示例:


( ! ) Warning: file_get_contents(/www/wwwroot/api.52vmy.cn/view/api/wl/s/hua./115.json): failed to open stream: No such file or directory in /www/wwwroot/api.52vmy.cn/view/api/wl/s/hua/index.php on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0001397784{main}( ).../index.php:0
20.0001398048require( '/www/wwwroot/api.52vmy.cn/app/init.php ).../index.php:17
30.0010412848require( '/www/wwwroot/api.52vmy.cn/route/web.php ).../init.php:30
40.0011412880Route::any( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = ??? ).../web.php:22
50.0011412880Route::get( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = NULL ).../Route.php:44
60.0011412880Route::ifimp( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = NULL ).../Route.php:124
70.0011412880Route::impController( $method = 'IndexController@api' ).../Route.php:218
80.0034444944indexController->api( ).../Route.php:260
90.0172462472require( '/www/wwwroot/api.52vmy.cn/view/api/wl/s/hua/index.php ).../IndexController.php:260
100.0174462672file_get_contents( $filename = '/www/wwwroot/api.52vmy.cn/view/api/wl/s/hua./115.json' ).../index.php:16
{ "code": 200, "msg": "成功", "data": { "content": "北京|上海|河南|杭州|东北", "info": [ "北", "京", "|", "上", "海", "|", "河", "南", "|", "杭", "州", "|", "东", "北" ] } }

PHP代码示例:

$msg = $_GET["msg"];
$type = $_GET["type"];
$url = "https://api.52vmy.cn/api/wl/s/hua?msg=".$msg."&type=".$type;
echo file_get_contents($url);