如何获取“相关标签"?使用py-stackexchange标签? [英] How to retrieve the "Related tags" of a tag using py-stackexchange?

查看:100
本文介绍了如何获取“相关标签"?使用py-stackexchange标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第1步:我想使用Py-stackexchange检索特定标签的所有相关标签,就像完成

Step 1: I would like to retrieve all the related tags of a particular tag using Py-stackexchange, much like what is accomplished here.

第2步:我想找到两个相关标签列表之间的交集.

Step 2: I would like to find the intersection between two lists of related tags.

我不知道StackApp,只要它有效!

I am StackApp-agnostic, as long as it works!

相关: Py-StackExchange按标记进行过滤

推荐答案

Stackpy ,但也没有运气(这也很可能是我的无能).

Since Py-StackExchange does not support V2.0 yet, I struggled with Stackpy, but no luck there either (it could well be my incompetence too).

但是, SEAPI 干净,高效,轻而易举!它使用了很棒的 Requests:HTTP for Humans 程序包来启动.如果它还使用 requests_oauthlib 合并身份验证,那就太好了.

However, SEAPI is clean, efficient and was a breeze! And it uses the awesome Requests:HTTP for Humans package to boot. It would be great if it incorporated authentication using requests_oauthlib as well.

此处中查找SEAPI作者提供的一些示例代码.

Look here for some sample code that the author of SEAPI has provided.

这篇关于如何获取“相关标签"?使用py-stackexchange标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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