bangumi / bangumi/api

关于api.bgm.tv/calendar可以输出成这样的格式吗?

Open
#209 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.2k
Forks
41
PR merge metrics
No merged PRs in 30d

Description

现在的格式是 [{weekday:,
items:
},
[{weekday:,
items:
},
......]

如果是
{weekday:[{
"en": "MON",
"cn": "\u661f\u671f\u4e09",
"ja": "\u6c34\u8000\u65e5",
"id": 1,
current:true
},
......],
items:[]}

这样我单纯只需要items就不用 每个节点都遍历一遍才能使用里面的数据

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the current response from api.bgm.tv/calendar and how its weekday and items fields are assembled. Confirm whether the endpoint should return the proposed object shape, including weekday metadata and a single items array; done means the documented response matches that shape without breaking the endpoint's expected data.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.