How to retrieve the “Related tags” of a tag using

2019-06-10 20:48发布

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

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

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

RELATED: Py-StackExchange filter by tag

1条回答
beautiful°
2楼-- · 2019-06-10 21:36

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).

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.

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

查看更多
登录 后发表回答