1 2 3 4 5 6 7 8 9 10 11 12 |
import requests import json # change it to your stack overflow id stackOverflowId = 3311276 url = 'https://api.stackexchange.com/2.2/users/%r/tags?order=desc&sort=popular&site=stackoverflow&filter=!6VAEe6YoLB2h-' % stackOverflowId r = requests.get(url) for line in r.iter_lines(): for tag in json.loads(line)['items']: print tag['name'] |
Today I was stumbling across web pages and some how I reachedSO API page. There are plenty of ways to do all sorts of things, but I quickly got all the tags I am subscribed to using the Json data they return.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
Other Blogs & PagesGit Commands Animation & VFX SitesA MUST READ for Ani/VFX Artistson the shoulders of giants and some
|