spencerwooo / substats

( `д′) how many followers do i have? how many!
https://substats.swo.moe
MIT License
823 stars 55 forks source link

增加中文维基百科用户贡献数统计 #22

Closed kecrily closed 4 years ago

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/spencerwoo/substats/2zyinq425
✅ Preview: https://substats-git-master.spencerwoo.now.sh

spencerwooo commented 4 years ago

Thanks! I'll look into this when I have time later this week.

kecrily commented 4 years ago

Sorry I was in a rush in merging PRs today. Could you give me an example for a valid Wikipedia username that I can test with the API you provided here?

https://zh.wikipedia.org/w/api.php?action=query&list=users&ususers=${name}&usprop=editcount&format=json

Just a username I can substitute ${name} with.

Sure, and scvoet is available.

spencerwooo commented 4 years ago

@scvoet I corrected and cleaned up the code for you on PR #25 if you would like to have a look.

In the meantime, could you provide a little bit more for the documentation part of Substats - Wikipedia (zh)? Which is at API details - Wikipedia (zh). The queryKey part is especially missing key information as I myself is not familiar with the API.

kecrily commented 4 years ago

@scvoet I corrected and cleaned up the code for you on PR #25 if you would like to have a look.

In the meantime, could you provide a little bit more for the documentation part of Substats - Wikipedia (zh)? Which is at API details - Wikipedia (zh). The queryKey part is especially missing key information as I myself is not familiar with the API.

Of course, I will finish the document today.