一笔签名设计,数据来自艺术字官网,如有侵权请联系站长删除
equalizer 累计使用:128441
请求地址 https://free.wqwlkj.cn/wqwlapi/ysz.php
请求示例 https://free.wqwlkj.cn/wqwlapi/ysz.php?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF
请求方式 GET
返回格式 JSON
{
"code": 1,
"msg": "生成成功",
"color": "#0000FF",
"shadow": "#FF0000",
"background": "#FFFFFF",
"imgurl": "http://34.84c.cn/cdn/190/154.12.20.13_0426225702.gif"
}
参数名称 | 是否必需 | 参数说明 |
---|---|---|
type |
否 | 可选img (直接显示图片)JSON text,默认img |
id |
否 | 字体id,1-128,具体如下1.黑体,2.楷体,3.仿宋,4.菱心,5.行楷,6.雁翔,7.行楷繁,8.舒同,9.古文篆书,10.繁中变,11.隶书,12.隶书繁,13.行楷,14.大篆体字,15.小篆字体,16.篆书篆体字,17.仿宋体,18.秀英,19.娃娃篆,20.双线,21.空心繁,22.雪峰,23.花蝶,24.彩蝶,25.飞翔,26.萝卜文,27.火柴文,28.太极文,29.黛玉字体,30.嘟嘟字,31.凌波字体,32.清韵字体,33.水波文字,34.萝莉字,35.空心体,36.一笔艺术签,37.连笔商务签,38.一笔商务签,39.明星手写体,40.签名字体,41.云溪锦书,42.真人手写,43.手写字,44.行书,45.连笔草书,46.连笔草字,47.猫猫字体,48.情书常规体,49.真人手写,50.倾倒特效手写,51.垂直特效手写,52.水平特效手写,53.三十度角仰望天,54.四十五度角仰望,55.娃娃体,56.手写体,57.静心楷体,58.硬笔行书,59.手写文字,60.肥圆手写,61.钢笔体,62.艺术体,63.硬笔行书,64.丹徒米蒂,65.学生钢笔字,66.学生手写字,67.潦草体,68.钢笔体,69.暴躁字,70.书法字体,71.天真娃娃体,72.太极体,73.钢笔字,74.和楷体,75.手写体,76.灵芝体,77.鼠标体,78.硬草书,79.小丸子,80.大草体字,81.连笔艺术字,82.卡通小浣熊,83.连笔手写字,84.毛泽东字体,85.一起去看海,86.一起恋爱,87.万圣节快乐,88.他夏了夏天,89.你最疼爱的人,90.信心相随,91.单翼雪蝶,92.南辞遇蝶,93.卷卷爱红唇,94.后会有期,95.咯咯哒的梦想,96.圈圈泡泡,97.地狱引路人,98.夏天的风,99.安静的美女子,100.小兔闹革命.,101.小肥泡中文,102.幸福四叶草,103.开开的蛋糕,104.恋爱写真,105.恋爱蝴蝶结,106.恬夕别乱,107.恬夕恋夕,108.恰逢其会,109.星心甜甜圈,110.星火爱情,111.星际Cream,112.春田小蜜蜂,113.暮夏何其孽,114.梦中的婚礼,115.玉米荡漾,116.甜菜五道杠,117.森林字体,118.花花字体,119.钢笔楷书,120.花里胡哨,121.草莓之心,122.荼蘼花开,123.蝴蝶结云彩,124.蝶恋之樱,125.迪斯尼美丽,126.阿苗笑笑,127.佳丽体,128.马卡龙 |
text |
否 | 需要进行艺术字的文字 |
color |
否 | 字体颜色(不要带#) |
shadow |
否 | 字体阴影(不要带#) |
background |
否 | 图片背景(不要带#) |
参数名称 | 参数类型 | 参数说明 |
---|---|---|
code |
integer |
1成功-1失败 |
msg |
string |
返回结果 |
color |
string |
字体颜色 |
shadow |
string |
字体阴影 |
background |
string |
图片背景 |
imgurl |
string |
图片链接 |
更新时间 2023-06-29 23:35:22
状态码 | 状态说明 |
---|---|
400 | 请求错误 |
403 | 请求被服务器拒绝 |
404 | 请求服务器失败 |
500 | 服务器错误 |
503 | 服务器维护 |
GET方法
$url = 'https://free.wqwlkj.cn/wqwlapi/ysz.php';
$data = '?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF';
$get = $url.$data;
$result = file_get_contents($get);
if ($result) {
//成功
echo $result;
} else {
//失败
}
POST方法
$url = 'https://free.wqwlkj.cn/wqwlapi/ysz.php';
$data = array(
  'type' => 'json',
  'id' => '36',
  'text' => '问情网络科技牛逼',
  'color' => '0000FF',
  'shadow' => 'FF0000',
  'background' => 'FFFFFF',
);
$data = http_build_query($data);
$option = array('http'=>array('method'=>'POST','content'=>$data));
$context = stream_context_create($option);
$result = file_get_contents($url,false,$context);
if ($result) {
//成功
echo $result;
} else {
//失败
}
GET方法
var url = "https://free.wqwlkj.cn/wqwlapi/ysz.php"
var data = "?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
var xhrGet = new XMLHttpRequest();
xhrGet.open('GET', url + data, true);
xhrGet.send();
xhrGet.onreadystatechange = function() {
if (xhrGet.readyState == 4 && xhrGet.status == 200) {
//成功
var result = xhrGet.responseText;
console.log(result);
} else {
//失败
}
};
POST方法
var url = "https://free.wqwlkj.cn/wqwlapi/ysz.php"
var data = "type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
var xhrPost = new XMLHttpRequest();
xhrPost.open('POST', url, true);
xhrPost.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhrPost.send(data);
xhrPost.onreadystatechange = function() {
if (xhrPost.readyState == 4 && xhrPost.status == 200) {
//成功
var result = xhrPost.responseText;
console.log(result);
} else {
//失败
}
};
GET方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/ysz.php";
String data = "?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF";
try {
URL url = new URL(path + data);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("GET");
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
POST方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/ysz.php";
String data = "type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF";
try {
URL url = new URL(path);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.getOutputStream().write(data.getBytes());
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
GET方法
url="https://free.wqwlkj.cn/wqwlapi/ysz.php"
data=url.."?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
Http.get(data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
POST方法
url="https://free.wqwlkj.cn/wqwlapi/ysz.php"
data="type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
Http.post(url,data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
GET方法
变量 网络GET操作 为 网络操作 = 创建 网络操作()
变量 GET数据 为 文本型 = "?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
网络GET操作.取网页源码("https://free.wqwlkj.cn/wqwlapi/ysz.php" + GET数据)
事件 网络GET操作:取网页源码结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络GET操作:取网页源码失败(响应码 为 文本型)
//失败
结束 事件
POST方法
变量 网络POST操作 为 网络操作 = 创建 网络操作()
变量 POST数据 为 文本型 = "type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
网络POST操作.发送数据("https://free.wqwlkj.cn/wqwlapi/ysz.php",POST数据)
事件 网络POST操作:发送数据结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络POST操作:发送数据失败(响应码 为 文本型)
//失败
结束 事件
GET方法
s url="https://free.wqwlkj.cn/wqwlapi/ysz.php"
s data="?type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
ss(url+data,get)
t(){
hs(get,result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
POST方法
s url="https://free.wqwlkj.cn/wqwlapi/ysz.php"
s data="type=json&id=36&text=问情网络科技牛逼&color=0000FF&shadow=FF0000&background=FFFFFF"
t(){
hs(url,data,"utf-8",result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
反馈时间 | 反馈接口 | 反馈内容 | 反馈者IP |
---|