Steemit Wechat Group Ranking Statistics Update and API.
I have added an API to display the statistics for the members in the Steemit Wechat Group. The statistics are updated daily, and the data is returned as JSON.
上两篇帖子讲了根据这个API 来获得每天中文区微信成员的数据(等级, SP, 投票能量等), 然后进行初步数据统计:
这些数据如果直接放到网页版该多好啊! 于是说到做到: 先加一个API 是个好习惯, 因为这能让逻辑和表现层分开, 可扩展性较强.
https://uploadbeta.com/api/steemit/wechat/?cached
It will return something like this:
{"count":175,"sbd":{"max":13327.625,"min":0,"mean":221.31464,"median":8.81,"std":1087.9571619885,"modes":[0]},"sp":{"max":66844.898,"min":0.5,"mean":1551.9490628571,"median":58.482,"std":5946.6024767058,"modes":[0]},"esp":{"max":847966.12199099,"min":5.303,"mean":18298.378448611,"median":67.646634050596,"std":98480.071820979,"modes":[15]},"steem":{"max":1322.117,"min":0,"mean":19.082971428571,"median":0,"std":118.73648608133,"modes":[0]},"value":{"max":106878.11127504,"min":0.6997085,"mean":2419.843576324,"median":112.805610783,"std":9297.029245956,"modes":[0]},"age":{"max":502,"min":3,"mean":108.37714285714,"median":53,"std":132.00162571664,"modes":[46]},"vp":{"max":100,"min":9.94,"mean":82.775542857143,"median":95.75,"std":22.0472821679,"modes":[98]},"rep":{"max":74.83,"min":3.52,"mean":48.6112,"median":50.83,"std":13.473083102033,"modes":[25]}}
And it is also updated daily on the web UI: 这API会返回JSON格式, 也就是以下表, 在网页端呈现:
同样支持日期参数, 比如看 2017-08-31日的统计数据:
统计数据: https://uploadbeta.com/api/steemit/wechat/stats/?cached&date=2017-08-31
加了一个最大, 最小值, 还有一个频率出现最多的 Mode, 比如帐号年龄在46天的最多, 那天估计是被大哥给安利来的吧?
最后, 再广告一下:
GD Star Rating
loading...
本文一共 216 个汉字, 你数一下对不对.loading...
上一篇: 隐藏收益, 专注写作! (SteemIt)
下一篇: 你有本事就不要看 - 隐藏收益增加自定义信息 Dare you not look at the payout
扫描二维码,分享本文到微信朋友圈