You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note the API **tags/{tag}/top-answerers** allow a tag to be a variable. In such cases. It's safe to use `__getattr__()` directly. The pystex for above example will be:
32
+
33
+
skill = 'python'
34
+
result = api_client.tags.__getattr__(skill).__getattr__('top-answerers').all_time.get(pagesize=30, page=1)
35
+
36
+
It's also worth to note API url with hyphen isn't allowed in Python language, thus `__getattr__()` was used.
0 commit comments