Giter Club home page Giter Club logo

Comments (1)

smartmimi avatar smartmimi commented on June 27, 2024

接口里没有提供新增的数据。
现有确认数,是根据“历史确诊”-“历史治愈”-“历史死亡”来计算出来的。并没有直接提供现有确诊数。
所以也没有每日新增的数据。
如果想提供,那么需要再缓存里保存上一日的最后一次有效数据刷新后的数据,然后根据减法来计算。实现起来有难度,且不太实用。

以前用的腾讯的数据是直接提供计算后的结果的。新换的阿里健康的api的数据就简洁多了,需要自行计算。的确不爽

from conf.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.