API已正式上线,请前往官网管理apikey和订阅
Authorization: ********************X-API-Key: ********************X-Anonymous-Token: ********************curl --location 'https://wegame.shallow.ink/api/v1/games/rocom/wiki/random-eggs?q=undefined&precious_egg_type=undefined&mutation_type=undefined&page_no=undefined&page_size=undefined' \
--header 'X-API-Key;' \
--header 'Authorization: <api-key>'{
"code": 0,
"data": {
"catalog": {
"description": "string",
"filters": [
{
"key": "string",
"label": "string"
}
],
"key": "string",
"name": "string",
"path": "string"
},
"has_more": true,
"items": [
{
"badges": [
{
"key": "string",
"label": "string"
}
],
"egg_type": {
"name": "string",
"precious_egg_type": 0
},
"is_precious": true,
"items": [
{
"icon": "string",
"id": 0,
"name": "string"
}
],
"known_mutation_glass_color": true,
"known_mutation_glass_particle": true,
"mutation_param1": 0,
"mutation_param2": 0,
"mutation_type": 0,
"name": "string",
"random_egg_id": 0,
"summary": "string"
}
],
"page_no": 0,
"page_size": 0,
"total": 0,
"total_pages": 0
},
"message": "string"
}