如何通过stackexchange api调用检索stackoverflow标签使用情况计数? [英] How to retrieve stackoverflow tag usage count via stackexchange api call?
问题描述
我想通过StackExchange API检索Ruby或Java之类的语言的标签使用次数".
I want to retrieve the 'tag usage count' of a language like Ruby or Java via the StackExchange API.
基本上,我想通过API调用来检索这些数字: https://stackoverflow.com/tags
Basically I want to retrieve these numbers via API call: https://stackoverflow.com/tags
例如如何通过StackExchange API调用在链接中看到Java的780k?
e.g. how do I get the 780k for Java as seen in the link via StackExchange API call?
有人知道吗?
但这并不能给我总数
使用Stack Exchange Data Explorer似乎很容易 http://data.stackexchange.com/stackoverflow/query/229727
It seems to be easy with the Stack Exchange Data Explorer http://data.stackexchange.com/stackoverflow/query/229727
但是如何通过API检索这些计数?
But how to retrieve these counts via API?
推荐答案
确定自己找到了答案:
ok found the answer myself:
只需将Java替换为所需的任何标签即可.
just replace java with whatever tag you need.
然后,标签计数包含在json响应中.
The Tag count then is included in the json response.
这篇关于如何通过stackexchange api调用检索stackoverflow标签使用情况计数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!