Talismans 请求路由

简介

This route fetches a list of all talismans that can be obtained in Elden Ring, and outputs that in JSON format. The user can define his own pagination and also use search queries to find the desired output.

响应

参数名称类型描述
idstringId of the Talisman
namestringName of the Talisman
imagestringImage URL of the Talisman icon
descriptionstringShort description of the Talisman
effectsstringWhat happens when we equip this Talisman

响应示例

{
success: true,
count: 2,
data: [{
id: "17f69dfff40l0i2soo71h481xlxzx8i",
name: "Arrow's Reach Talisman",
image: "https://eldenring-api.vercel.app/images/talismans/17f69dfff40l0i2soo71h481xlxzx8i.png",
description: "A talisman depicting three arrows. Carried by hunters of beasts.",
effect: "Increases bow effective range."
},
{
id: "17f69c74ab1l0i2sp8u8ehul0cxenh",
name: "Axe Talisman",
image: "https://eldenring-api.vercel.app/images/talismans/17f69c74ab1l0i2sp8u8ehul0cxenh.png",
description: "A talisman depicting an axe and a warrior. Enhances charge attacks.",
effect: "Enhances charge attacks."
}
]
}

请求路由

请求方法URL描述
GEThttps://eldenring-api.vercel.app/api/talismansThis route retrieves a list of all the talismans of Elden Ring.
GEThttps://eldenring-api.vercel.app/api/talismans/:talisman_idThis route retrieves one Elden Ring talisman using its ID.

请求参数

This route supports the following 请求参数:

参数名称默认值示例URL描述
limit20https://eldenring-api.vercel.app/api/talismans?limit=100This parameter is used to set the maximum amount of items in the response
page0https://eldenring-api.vercel.app/api/talismans?limit=20&page=3This parameter is used no navigate between pages of results
namenonehttps://eldenring-api.vercel.app/api/talismans?name=Axe%20TalismanThis parameter is used to search for fields by their names