清单使用Stackexchange API特定代码相关联的所有用户 [英] Listing all users associated with a specific tag using Stackexchange API

查看:182
本文介绍了清单使用Stackexchange API特定代码相关联的所有用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找StackExchange API的API或组合,列出所有与堆栈溢出一个特定的标记关联的用户。我通过API文档了,但我无法找到之一。

I am looking for an API or combination of StackExchange APIs to list all the users associated with a specific tag in Stack Overflow. I went through the API documentation but I couldn't locate one.

输入应为标签,并且响应应该包含所有相关的用户与由用户该特定代码,并针对特定的标签帖子的数量。

The input should be "tag", and the response should contain all the associated users with that specific tag and number of posts against the specific tag by the user.

推荐答案

标签为要达到这个要求的API文档 - <一个href=\"https://api.stackexchange.com/docs/top-answerers-on-tags#tag=php&period=all_time&filter=default&site=stackoverflow&run=true\">see例如。

The API documentation for tags should achieve this for you - see example.

例如:

https://api.stackexchange.com/2.2/tags/php/top-answerers/all_time?site=stackoverflow

不过,它们的页面大小限制为100目前如此检索更多你需要做的并发请求而改变页面数。

However, their page size limit is currently 100 so to retrieve more you'll need to make concurrent requests while changing the page number.

还有顶级提问者端点使用相对于顶级的回答者。

There is also the top-askers endpoint available as opposed to top-answerers.

这篇关于清单使用Stackexchange API特定代码相关联的所有用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆