番组放送 提供了也许是史上最全的动漫番组更新 API, 我将其打包成一个 NPM 模块,并稍微按星期几格式化输出。
import bgm from 'bgm-fetch' bgm .get('1510', true) // 15 年 10 月新番, 当 true 将会按星期几分类 .then(data => console.log(data)) .catch(error => console.error(error))
GitHub 地址 - 一个很丑陋的演示