Steemit Wechat Group Ranking Statistics Update and API - SteemIt 好友微信群排行榜 支持显示数据统计和API了!

in #cn7 years ago (edited)

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.

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: https://helloacm.com/tools/steemit/wechat-ranking/

上两篇帖子讲了根据这个API

https://uploadbeta.com/api/steemit/wechat/?cached

来获得每天中文区微信成员的数据(等级,SP,投票能量等),然后进行初步数据统计:

这些数据如果直接放到网页版该多好啊!于是说到做到:

先加一个API 是个好习惯,因为这能让逻辑和表现层分开,可扩展性较强。

统计数据:https://uploadbeta.com/api/steemit/wechat/stats/?cached

同样支持日期参数,比如看 2017-08-31日的统计数据:

统计数据:https://uploadbeta.com/api/steemit/wechat/stats/?cached&date=2017-08-31

这API会返回JSON格式,也就是以下表(在网页端呈现 https://helloacm.com/tools/steemit/wechat/

加了一个最大,最小值 ,还有一个频率出现最多的 Mode, 比如帐号年龄在46天的最多,那天估计是被大哥给安利来的吧?

最后,再广告一下:

  1. SteemIt 好友微信群排行榜 需要入群者 请联系 @tumutanzi 或者 @rivalhw 谢谢。
  2. SteemIt 好友微信群文章列表 RSS Feed
  3. SteemIt 编程 Geek 微信群,请联系 @justyy 让我拉你入群。


Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: cn cn-programming steemdev steemstem wechat

Sort:  

only upvote

Congratulations @justyy! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published 4 posts in one day

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

只有点赞了,强大的yy

微信群好友文章RSS 可以增加显示文章的作者吗?

可以的,已经有了

This post recieved an upvote from minnowpond. If you would like to recieve upvotes from minnowpond on all your posts, simply FOLLOW @minnowpond

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.031
BTC 60795.60
ETH 2627.31
USDT 1.00
SBD 2.58