1、查询舰娘列表
《碧蓝航线》手游舰娘列表
地址:https://api.timelessq.com/azurlane/ship/lists
1.1、请求参数
参数名 | 位置 | 类型 | 必填 | 说明 |
---|---|---|---|---|
name
|
query
|
string
|
否
|
示例值:拉菲
说明:名称
|
nationality
|
query
|
string
|
否
|
示例值:白鹰
说明:阵营:白鹰、皇家、重樱、铁血、东煌、撒丁帝国、北方联合、自由鸢尾、维希教廷、其他
|
hullType
|
query
|
string
|
否
|
示例值:驱逐
说明:船级:驱逐、轻巡、重巡、航母、战列、维修、潜艇、其他
|
rarity
|
query
|
string
|
否
|
示例值:精锐
说明:稀有度:普通、稀有、精锐、超稀有、海上传奇
|
1.2、示例代码
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.timelessq.com/azurlane/ship/lists'
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
1.3、响应示例
{
"errno": 0,
"errmsg": "",
"data": [
{
"id": "019",
"classify": "Benson", // 型号
"names": { // 名称
"en": "Laffey",
"code": "USS Laffey",
"cn": "拉菲",
"jp": "ラフィー",
"kr": "라피",
"tw": "拉菲"
},
"hullType": "驱逐", // 船级
"nationality": "白鹰", // 阵营
"rarity": "精锐", // 稀有度
"thumbnail": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/thumbnail.png" // 缩略图
}
]
}
2、查询舰娘详情
地址:https://api.timelessq.com/azurlane/ship?id=019
2.1、请求参数
参数名 | 位置 | 类型 | 必填 | 说明 |
---|---|---|---|---|
id
|
query
|
string
|
是
|
示例值:019
说明:舰娘ID
|
2.1、示例代码
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.timelessq.com/azurlane/ship?id=019'
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
2.2、响应示例
{
"errno": 0,
"errmsg": "",
"data": {
"wikiUrl": "https://azurlane.koumakan.jp/wiki/Laffey",
"id": "019",
"_gid": 10117,
"_sid": [
101171,
101172,
101173,
101174,
900240
],
"_code": 19,
"names": {
"en": "Laffey",
"code": "USS Laffey",
"cn": "拉菲",
"jp": "ラフィー",
"kr": "라피",
"tw": "拉菲"
},
"exists": {
"en": true,
"cn": true,
"jp": true,
"kr": true
},
"hexagon": [
3,
2,
0,
3,
3,
2
],
"class": "Benson",
"nationality": "Eagle Union",
"hullType": "Destroyer",
"thumbnail": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/thumbnail.png",
"rarity": "Elite",
"stars": 5,
"stats": {
"baseStats": {
"health": "319",
"armor": "Light",
"reload": "81",
"luck": "18",
"firepower": "19",
"torpedo": "56",
"evasion": "60",
"speed": "45",
"antiair": "33",
"aviation": "0",
"oilConsumption": "2",
"accuracy": "75",
"antisubmarineWarfare": "49"
},
"level100": {
"health": "1787",
"armor": "Light",
"reload": "208",
"luck": "18",
"firepower": "95",
"torpedo": "286",
"evasion": "181",
"speed": "45",
"antiair": "161",
"aviation": "0",
"oilConsumption": "9",
"accuracy": "200",
"antisubmarineWarfare": "188"
}
},
"slots": [
{
"maxEfficiency": 140,
"minEfficiency": 120,
"type": "DD Guns",
"max": 1,
"kaiEfficiency": 165
},
{
"maxEfficiency": 125,
"minEfficiency": 120,
"type": "Torpedoes",
"max": 2,
"kaiEfficiency": 125
}
],
"enhanceValue": {
"firepower": 6,
"torpedo": 19,
"aviation": 0,
"reload": 15
},
"scrapValue": {
"coin": 12,
"oil": 4,
"medal": null
},
"skills": [
{
"icon": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skills/019/wargod_of_solomon.png",
"names": {
"en": "Wargod of Solomon",
"cn": "所罗门的战神",
"jp": "ソロモンの戦神"
},
"description": "When this ship fires its Main Guns: 5% chance to increase this ship's FP, RLD, and EVA by 20% (40%) for 8s (5s cooldown, starts on cooldown).",
"color": "pink"
}
],
"limitBreaks": [
[
"Gains All Out Assault I",
"Main Gun Efficiency +5%"
],
[
"Max Torpedo Capacity +1",
"Pre-Loaded Torpedo +1",
"Main Gun Efficiency +10%"
],
[
"Upgrades All Out Assault I→II",
"All Weapon Efficiency +5%",
"Main gun shots required to trigger All-Out Assault halved"
]
],
"fleetTech": {
"statsBonus": {
"collection": {
"applicable": [
"Destroyer",
"Guided-missile destroyer"
],
"bonus": "+1",
"stat": "health"
},
"maxLevel": {
"applicable": [
"Destroyer",
"Guided-missile destroyer"
],
"bonus": "+1",
"stat": "firepower"
}
},
"techPoints": {
"collection": 8,
"maxLimitBreak": 16,
"maxLevel": 12,
"total": 36
}
},
"retrofit": true,
"retrofitId": "3019",
"retrofitHullType": "Destroyer",
"construction": {
"constructionTime": "00:27:00",
"availableIn": {
"light": true,
"heavy": false,
"aviation": false,
"limited": false,
"exchange": false
}
},
"obtainedFrom": {
"fromMaps": [
"2-1",
"3-1",
"4-1"
]
},
"misc": {
"artist": {
"name": "梦咲枫",
"urls": {
"Wiki": "https://azurlane.koumakan.jp/wiki/Artists#梦咲枫",
"Pixiv": "https://www.pixiv.net/member.php?id=1023957",
"Twitter": "https://twitter.com/yumesaki_kaede/",
"Link": "http://weibo.com/u/3558369570"
}
},
"voice": {
"name": "Maria Naganawa",
"url": "https://en.wikipedia.org/wiki/Maria_Naganawa"
}
},
"skins": [
{
"name": "Default",
"image": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/Default/image.png",
"background": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/backgrounds/MainDayBG.png",
"chibi": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/Default/chibi.png",
"info": {
"live2dModel": true,
"obtainedFrom": "Default",
"category": "Default"
}
},
{
"name": "Bili Girl 33",
"image": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/Bili_Girl_33/image.png",
"background": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/backgrounds/MainDayBG.png",
"chibi": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/skins/019/Bili_Girl_33/chibi.png",
"info": {
"live2dModel": false,
"obtainedFrom": "Bilibili 8th Anniversary Event Shop",
"category": "Collab Event",
"enClient": "Skin unavailable",
"cnClient": "33娘",
"cnLimited": "Limited",
"jpClient": "Skin unavailable",
"cost": 300
}
}
],
"gallery": [
{
"description": "Bache, Baltimore, St. Louis, Laffey (far back), Nicholas (far back), Anchorage, San Francisco",
"url": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/gallery/Bg_2022.01.27_1.png"
},
{
"description": "Z23, Laffey, Shimakaze, Ayanami, Javelin",
"url": "https://raw.githubusercontent.com/AzurAPI/azurapi-js-setup/master/images/gallery/Bg_2021.09.30_12.png"
}
]
}
}
3、查询Spine模型列表
《碧蓝航线》手游Q版小人Spine模型列表
地址:https://api.timelessq.com/azurlane/spine/lists
请求方式:GET
请求参数:无
3.1、示例代码
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.timelessq.com/azurlane/spine/lists'
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
3.2、响应示例
{
"errno": 0,
"errmsg": "",
"data": [
{
"name": "22", // 名称
"value": "22", // 资源ID
"remark": "22" // 皮肤名称
},
{
"name": "33",
"value": "33",
"remark": "33"
}
]
}
4、查询Spine模型信息
地址:https://api.timelessq.com/spine
模型资源来源于 https://github.com/Pelom777/AzurLaneSD
适用于Spine.js
v3.6.52版本
4.1、请求参数
参数名 | 位置 | 类型 | 必填 | 说明 |
---|---|---|---|---|
id
|
query
|
string
|
是
|
说明:模型ID
|
isuseCDN
|
query
|
integer
|
否
|
说明:是否使用CDN加速(后续把这个默认集成吧)
|
4.2、示例代码
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.timelessq.com/spine',
params: {
'id': '22'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
4.3、响应示例
{
"errno": 0,
"errmsg": "",
"data": {
"atlas": "//api.timelessq.com/azurlane-assets/spine/22/22.atlas", // Spine atlas资源地址
"texture": "//api.timelessq.com/azurlane-assets/spine/22/22.png", // Spine texture资源地址
"skelBinary": "//api.timelessq.com/azurlane-assets/spine/22/22.skel" // Spine skel资源地址
}
}
还没有评论,快来抢第一吧